Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on JavaScript’s internal character encoding: UCS-2 or UTF-16?. Parent comment
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).
There are no comments on this comment yet.
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).