365体育足球滚球比分

Questions tagged [unicode]

Unicode is a standard for the encoding, representation and handling of text with the intention of supporting all the characters required for written text incorporating all writing systems, technical symbols and punctuation.

Filter by
Sorted by
Tagged with
0
votes
1answer
37 views

Why is my_str.decode('utf-8') still failing? [duplicate]

I believe in the unicode sandwich. I use the unicode sandwich. So why is it that when I run the following on a byte string (py 2.7)... label = label.decode("utf-8") I still get an error: Traceback (...
1
vote
0answers
15 views

broken unicode rendering, Java, Windows ONLY

Java has some odd unicode rendering problem, only on Windows and only for some unicode characters. The picture below shows the same text, rendered in a Label, in a Component, and in a TextArea. This ...
0
votes
1answer
16 views

How to convert Unicode code units to the corresponding characters to them?

In short, I have for instance this code unit 0x672C (UTF-16), I want to convert/transform that code unit to the corresponding char to it 本 (Japanese) without using an external library or standard ...
0
votes
0answers
125 views

Is it possible to construct a \p JavaScript regexp that matches Grapheme_Cluster_Break=Extend

Unicode text segmentation requires access to the Grapheme_Cluster_Break property of characters. Which JavaScript famously doesn't provide in a direct way. I was hoping I would be able to use Unicode ...
0
votes
0answers
18 views

Does the regex to match all valid ascii also matches all valid utf-8? [closed]

I wanted to validate a string, using the pattern "[\S\s]*" to detect all valid ascii strings, without undesired control characters. But the string can also be interpreted as utf-8. Will restricting ...
-2
votes
0answers
35 views

Unicode symbols

I wrote the following code to generate Unicode symbols for card suits in C. It works fine and I don't need to change the font family or the code page of the console (I use Windows 10 and Dev-C++) but ...
0
votes
0answers
15 views

ggplot2: different legend widths depending on the use of English or other language

Why when I use Russian text the width of the legend is wider than when I use English text? As if the width of the legend is calculated not by the amount of letters in the text, but by the amount of ...
0
votes
1answer
29 views

R, ggplot2 shapes in unicode

I've used ggplot2 shapes in my plots, and now need to find the shapes in order to use them in word. Where do ggplot2 pch shapes come from? I am specifically looking for #9, "diamond plus". I've ...
0
votes
2answers
25 views

Comparing two letters returns false, but their unicode character is the same

(What kind of sorcery is this?) I have two characters which looks the same, but when doing a comparison they are different: console.log("i" === "i︆") // false Then I compared their code which tell ...
1
vote
1answer
28 views

Duplicate codepoints in richtextbox won't display

I am displaying values as roman numbers, when printing to console it worked fine. However Using windows forms the richtextbox will not display duplicate codepoints. I tried changing the font, is ...
-1
votes
0answers
15 views

JavaScript regex to handle words in a Unicode paragraph [duplicate]

I'm trying to censor bad words from a Unicode string. My approach: Split the paragraph into words Iterate through the words and censor bad words Join all the words together again However, I ran into ...
0
votes
1answer
23 views

Same Symbol but two UTF-8 in Javascript (.normalize() can not resolve)

I have issue with Unicode symbol. Like the title, previous, i use .normalize() function to convert two symbol to standard utf-8 code. I think it will cover all my casse but it does not . The two "Đ" ...
4
votes
2answers
56 views

Getting a random emoji/character from a unicode string

My goal is to get a random emoticon, from a list, in F#. I started with this: let pickOne (icons: string) : char = icons.[Helpers.random.Next(icons.Length)] let happySymbols = "🔥😂😊😁🙏😎💪😋😇🎉🙌...
0
votes
1answer
36 views

How do I map a char with 2 points to it's ASCII value in C#?

𝐀 - Unicode Character 'MATHEMATICAL BOLD CAPITAL A' (U+1D400) Hex - "\uD835\uDC00" How do I map this to A(0041) in C#? I'm trying to do this on Xamarin Forms.
1
vote
0answers
16 views

Is the Demotic script represented in Unicode?

Does Unicode have signs for Demotic script? Is there any font containing such signs? The Unicode has assigned 1072 characters for Egyptian hieroglyphs and for Hieratic (which is the parent system for ...

15 30 50 per page
1
2 3 4 5
1492