2 ms·
You're right. Java originally used UCS-2 and later switched to UTF-16. http://java.sun.com/docs/books/jls/first_edition/html/3.doc.html#95413 http://java.sun.co
by nradov 17y ago
You're right. Java originally used UCS-2 and later switched to UTF-16.
http://java.sun.com/docs/books/jls/first_edition/html/3.doc.html#95413 http://java.sun.com/docs/books/jls/first_edition/html/3.doc....
The problem is that dealing with surrogate pairs is so awkward that most developers don't even bother.