Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
nradov
on March 2, 2010
|
parent
|
context
|
favorite
| on:
A rant about Ruby 1.9 String encoding
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....
The problem is that dealing with surrogate pairs is so awkward that most developers don't even bother.
Consider applying for YC's Summer 2025 batch! Applications are open till May 13
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: