Most voted "unicode" questions
Unicode is a standard for encoding, rendering, and text manipulation with the intention of supporting all characters required for written text that incorporates all writing systems, technical symbols, and punctuation.
Learn more…38 questions
Sort by count of
-
35
votes2
answers1067
viewsIs there a problem using Unicode characters for code identifiers?
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…
-
16
votes2
answers1842
viewsWhat is the Unicode (BOM) signature?
I noticed that sometimes Dreamweaver puts assinatura unicode (BOM) on some php’s pages, I have to remove most of the time so that there is no spacing on the display page and I’m not sure what it’s…
-
13
votes3
answers2326
viewsProblem accessing an accented file (matching character)
I’m trying to list a folder (files, subfolders) in Python [2.7 on Windows XP], and I’m having problems with sharp files. I know the method os.listdir behaves differently if the argument is a single…
-
11
votes1
answer1878
viewsHow does String.prototype.normalize work in Javascript?
I was reading a reply here on the site and I came across the method String.prototype.normalize in the second example of code passed. I had already come across this method in another situation, but…
-
7
votes1
answer120
viewsWhy can’t I see the icon code ( ) in developer mode?
Example of this icon: In developer mode (F12, Google Chorme), I can’t see the code of this icon, only image appears. Why does this happen ? Has some secret ? See the image below: Instead of…
-
7
votes1
answer198
viewsHow to put emoji in a string?
I know that in a string I can put any characters you want, ex: string = "qualquer coisa! @#$%ª太陽" But what if I want to put one emoji in a string, how do I? Has any specific way? Can I put it right…
-
6
votes2
answers99
viewsHow to get the code from a Unicode General Category?
Java has the method Character.getType(char) to obtain the Category General Unicode of a character, but the return value is a int - corresponding to a constant defined in the class itself Character…
-
5
votes1
answer4176
viewsAlignment with string.format and Unicode
I’m having trouble with the alignment of strings when using the .format(), for example when doing: >>> print '{:>6}'.format('agua'} agua >>> print '{:>6}'.format('água'} água…
-
4
votes2
answers1216
viewsCompare two strings with C accentuation
I have the following problem, I need to compare two strings ignoring the accent, for example: Étnico | Brasil Using a normal comparison function it is returned that "Ethnic" comes before "Brazil" in…
-
4
votes1
answer1486
viewsEncoding problem in Python
At one point in my code I receive a variable var of type str containing SENTEN\u00c7A. in making var2 = var.encode() print(var2) is printed b'SENTEN\\u00c7A' The original word would be 'SENTENCE' In…
-
3
votes1
answer1544
viewsCan I use ANSI charset in HTML files?
In order to be able to publish texts daily using some editor like Notepad++ for example, I would like to type the words with an accent and save them in the HTML file. I’ve been reading that the…
-
3
votes1
answer519
viewsRead file with non ascii format [à="<U+00E0>"]
I’m reading a file on R called roubobs.rds. is a proprietary R format and I could not open in excel. I can import the data into a variable but, within the records, the texts are not ascii (Unicode?…
-
3
votes1
answer99
viewsProblem when unzipping file
I have a zip that, inside it there are several files to be uncompressed. So far so good, I’m using the following method to twelve the same:? with closing(z), zipfile.ZipFile(io.BytesIO(z.content))…
-
3
votes1
answer42
viewsSass does not compile special character
I have a ::after in my Sass code with the content "m²", the question is that after compiled the ² becomes error: It is printing in UTF-8 (@charset "UTF-8";), really do not understand the reason for…
-
3
votes2
answers1580
viewsConvert utf-8 codes to Unicode
Well, I have a file JSON where all the symbols Unicode as this " " are in this format: "u2605" has some way to convert these codes to the symbols when my program Nodejs read the JSON? Example of how…
-
3
votes1
answer894
viewsPython Unicodedecodeerro in jupyter notebook. Working with . csv
I’m learning to manipulate files .csv in Python with the jupyter notebook. I extracted a file from the system, in csv, separated by commas, but when I opened I received this error: arqsb2 =…
-
2
votes1
answer1452
viewsQuestion: how to fix the Unicodeencorror in Python?
Since I changed machines, I’ve been having the following problem with the interpreter Python: UnicodeEncodeError: 'ascii' codec can't encode character u'\xe7' in position 17: ordinal not in…
-
2
votes1
answer568
viewsUnicode and UTF-8
What is the difference between Unicode and UTF-8? They are the same encoding or one is derived from the other?
-
2
votes1
answer523
viewspython error when importing fields with accentuated text
I have an error when running the command below, generates the text file correctly when importing texts from the database without accentuation, but when there is some accentuation appears the error:…
-
2
votes1
answer1166
viewsWhich Way to Recursively Remove Accented Characters from File Names
I tried other scripts I found online (*os I found), but to no avail. So I want to know some of you(s) how to do this automated/recursive task. Shell Script Taken from: https://tsgii.blogspot.com/…
-
1
votes1
answer26
viewsHow do I calculate to convert a Codepoint to UTF-16?
I have a 32-bit integer representing a Unicode character and would like to convert this single character into its representation utf-16, that is, one or more 16-bit integers.
unicodeasked 7 years, 5 months ago Rodrigo Santiago 1,822 -
1
votes1
answer136
viewsMigration with Strange Characters?
The data is from a bank Firebird and even opening with official tools the characters do not come in the "format" br, for example: ÁGUA vem µGUA PÃO vem PÆO Find a website that provides a special…
-
1
votes4
answers3447
viewsError while trying to write accents in Python files
I was trying to make a program in Python that could make changes to another . py file in order to change its code automatically. I went to do the following test on Shell before writing the program…
-
1
votes2
answers54
viewshow to render Unicode correctly
good afternoon to all!!! Guys, next, I have the following code "▼" it has to render in the browser an up arrow...However, when launching in the "content" of before, it renders exactly…
-
1
votes1
answer4040
viewsHow to show accented characters in Visual Studio 2017 using C++?
Good afternoon, I asked this question a while ago, but it was bad so I deleted it and I’m redoing it in more detail. My problem is this: When I accentuate in Visual Studio it returns strange…
-
1
votes1
answer279
viewsEncodings do not work in an Opencv file in Python 3
I followed the face detection tutorial using Opencv and wrote in Python 3. This file is not used print. I already know that Python 3 is international, is compatible with UTF-8 and does not need…
-
1
votes0
answers82
viewsTransform UTF-8 to Unicode in Echolink
In the Echolink Server configuration file /etc/svxlink/svxlink.d/ModuleEchoLink.conf we can insert the location of the radio station in the LOCATION variable. As the name of my city (Petrópolis) has…
-
0
votes1
answer152
viewsUsing Unicode in a variable char
Guys like me to use unicode in C? I just don’t know how to store the 2 bytes of one unicode on a char, that’s all, someone knows how?
-
0
votes1
answer284
viewsSlim Framework simplexml_load_string parser error
My application sends a string in XML format to the server. $(function() { var xml = "<?xml version='1.0' encoding='UTF-8'?> <note> <to>Tove</to> <from>Jani</from>…
-
0
votes1
answer47
viewsHow do I place strings like 'char32_t' and 'char16_t' on the console in C++?
New C++17 added characters char32_t and char16_t, added also 'u16string' and 'u32string', but did not create any way to put them on the console screen. For example: int main() { std::u16string u16s{…
-
0
votes0
answers213
viewsDjango Error - Unicode Decode Error
When trying to create an App in Django with the command django-admin.py startapp Name, such command raises the following error : Traceback (most recent call last): File "manage.py", line 22, in…
-
0
votes2
answers171
viewsCoding problems
I’m having codage problem that I can’t solve. I’ve tried several suggested things but none works: Script: # -*- coding: utf-8 -*- import sys line = ["Oi tudo bem com você","eu GOSTO de café", "esta…
-
0
votes1
answer2333
viewsPython utf-8 encoding error
Good afternoon to all I am beginner to Python programming, I am creating a program that reads the information of a text and transcribes elsewhere. Apparently the text was working normally on the…
-
0
votes1
answer77
viewsseparate special characters
I have a text file of this kind: Olá podes dizer-me quando o 1 passa aqui? ele passa, quando passar o Carlos Alberto. I need to in python Remove special characters such as punctuation, numbers,…
-
0
votes1
answer116
viewsProblem Reading Unicode python file
Guys I got my script : import sys search = sys.argv[1] ref_arquivo = open('C:/Zabbix/RelatorioErros.txt','r').readlines()[11:] for line in ref_arquivo: if search in line:…
-
0
votes1
answer138
viewsHow to save Unicode text in a . JSON file without escape sequence?
I am creating a program where I need to save in a JSON file a dictionary that contains strings with Unicode characters. See the example below: import json data = {"face": "( ͡° ͜ʖ ͡°)"} with…
-
-1
votes1
answer715
viewsAccentuation of indigenous names in the Oracle database
We have a situation of inclusion of records of indigenous names in the Oracle bank, where there is a variation of accentuation, and may have "e" or "u" with tilde. Our Oracle parameters (version 9i)…
database oracle character-encoding accentuation unicodeasked 5 years, 7 months ago Mauricio Adriano 21 -
-3
votes1
answer3184
viewsAngular ignores line break in String
I’m assembling a message with several messages in JAVA. After it was sent to the front/view but the angle is eating all the lines breaks: public String salvarPorXLS(){ while (rowIterator.hasNext())…