Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on UTF-8 good, UTF-16 bad. Parent comment
For external IO, internally it's in UTF-16 (actually UCS-2, mostly unaware of surrogates) or in UCS-4 (via a compile-time switch).
See http://docs.python.org/c-api/unicode.html#Py_UNICODE for the Py_UNICODE API.
There are no comments on this comment yet.
For external IO, internally it's in UTF-16 (actually UCS-2, mostly unaware of surrogates) or in UCS-4 (via a compile-time switch).
See http://docs.python.org/c-api/unicode.html#Py_UNICODE for the Py_UNICODE API.