What is the Java's internal represention for String? Modified UTF-8? UTF-16? - Stack Overflow
The Java programming language is based on the Unicode character set, and several libraries implement the Unicode standard. The primitive data type char in the Java programming language is an unsigned 16-bit integer that can represent a Unicode code point in the range U+0000 to U+FFFF, or the code units of UTF-16. The various types and classes in the Java platform that represent character sequences - char[], implementations of java.lang.CharSequence (such as the String class), and implementations of java.text.CharacterIterator - are UTF-16 sequences.
Read full article from What is the Java's internal represention for String? Modified UTF-8? UTF-16? - Stack Overflow
No comments:
Post a Comment