Top "Utf-16" questions

UTF-16 is a character encoding that represents Unicode code points using either 2 or 4 bytes per character.

represents a character as a utf-16 code unit

StringBuilder builder = new StringBuilder(); builder.Append(" \(Nested \(parentheses\) dont need a backslash.\) \(But a single \\(parenthe)"); for(int i=0;i&…

c# pdf stringbuilder utf-16 adobe-reader
Enter Unicode characters with 8-digit hex code

How do I enter Unicode characters like 𝓭 without copying it to the clipboard and pasting it? Things I know: The …

vim unicode utf-16 utf
Extract substring by utf-8 byte positions

I have a string and start and length with which to extract a substring. Both positions (start and length) are …

javascript string utf-8 character-encoding utf-16
JavaScript strings outside of the BMP

BMP being Basic Multilingual Plane According to JavaScript: the Good Parts: JavaScript was built at a time when Unicode was …

javascript unicode utf-16 surrogate-pairs astral-plane
dos2unix: Binary symbol 0x04 found at line 1703

I download a file from the OECD http://stats.oecd.org/Index.aspx?datasetcode=CRS1 ('CRS 2013 data.txt') by selecting …

utf-16 byte-order-mark dos2unix
Unicode string normalization in C/C++

Am wondering how to normalize strings (containing utf-8/utf-16) in C/C++. In .NET there is a function String.Normalize . …

c++ unicode utf-8 utf-16 unicode-normalization
JavaScript strings - UTF-16 vs UCS-2?

I've read in some places that JavaScript strings are UTF-16, and in other places they're UCS-2. I did some searching …

javascript utf-16
How does Java store UTF-16 characters in its 16-bit char type?

According to the Java SE 7 Specification, Java uses the Unicode UTF-16 standard to represent characters. When imagining a String as …

java variables unicode encoding utf-16
Writing utf16 to file in binary mode

I'm trying to write a wstring to file with ofstream in binary mode, but I think I'm doing something wrong. …

c++ unicode utf-16
javascript and string manipulation w/ utf-16 surrogate pairs

I'm working on a twitter app and just stumbled into the world of utf-8(16). It seems the majority of javascript …

javascript string unicode twitter utf-16