Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In Java, you end up seeing the guts of UTF-16 far more often than you should. Most notably, the String APIs often index strings by UTF-16 code units, not characters, so string "lengths" don't always correspond to the number of Unicode characters, and you can end up cutting surrogate pairs in half if you aren't careful.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: