Questions tagged as 'unicode'

2
answers

Is there any problem in using Unicode characters for identifiers in code?

Today, it is common for compilers of programming languages to allow the code file of their programs to accept code with Unicode characters. This is useful, especially for those who use Portuguese and other languages that run away from ASCII t...
asked by 21.05.2014 / 16:04
2
answers

What is the unicode signature (BOM)

I noticed that sometimes dreamweaver puts assinatura unicode (BOM) on some php pages, I have to remove most of the time so that there is no space on the page to display and I'm not sure what%% of% would you like to explain?     
asked by 20.03.2014 / 16:51
3
answers

Problem accessing an accented file (combining character)

I'm trying to list a folder (files, subfolders) in Python [2.7, on Windows XP], and am having problems with accented files. I know that the method os.listdir behaves differently if the argument is a single string or a unicode string. My...
asked by 31.12.2013 / 01:49
2
answers

How to get the code of a General Unicode Category?

Java has the method Character.getType(char) to get the General Category Unicode for a character, however the return value is int - corresponding to a constant defined in the class itself Character (ex .: public static...
asked by 02.05.2014 / 17:27
1
answer

Why can not I see the icon code (❌) in developer mode?

Example of this icon: ❌ In developer mode (F12, Google Chorme), I can not see which code for this icon, only image appears. Why does it happen ? Do you have any secrets? See the image below: Insteadofdisplayingimage(❌),shouldnotshowthe...
asked by 14.06.2018 / 01:41
2
answers

Compare two strings with C accent

I have the following problem, I need to compare two strings ignoring the accent, for example: Étnico | Brasil Using a normal function of comparison is returned that "Ethnic" comes first that "Brazil" in view...
asked by 11.07.2015 / 18:50
1
answer

Alignment with string.format and unicode

I'm having trouble aligning strings when using .format() , for example when doing: >>> print '{:>6}'.format('agua'} agua >>> print '{:>6}'.format('água'} água Note that the first format comes out as expec...
asked by 21.09.2016 / 16:55
2
answers

Convert utf-8 codes to unicode

Well, I have a JSON where all unicode symbols like this "★" are in this format: "\ u2605" have some way to convert those codes to the symbols when my program NodeJS read the JSON ? Example of how it is: {"name":"\u2605 Bayonet","pri...
asked by 24.08.2017 / 16:47
1
answer

Sass does not compile special character

I have an :: after in my sass code with the "m²" content, the point is that once compiled the ² becomes error: It is printing in UTF-8 (@charset "UTF-8";), I really do not understand the reason for the error.     
asked by 29.08.2018 / 16:55
1
answer

Read file with non-ascii format [à="U + 00E0"]

I'm reading a file in R called roubobs.rds . is a proprietary R format and I could not open it in excel. I can import the data into a variable but, within the records, the texts are with non-ascii (unicode? Utf-8?) Codes. I've browsed to t...
asked by 03.01.2017 / 19:55