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

This.

JavaScript’s internal encoding is closer to UCS-2 than it is to UTF-16, but it doesn’t guarantee that a string is valid UCS-2 (or valid UTF-16).



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

Search: