News for hackers. Stuff that matters.
Re:UTF-8 good, UTF-16 bad by masklinn on Tuesday February 08, 2011 @03:43AM (#2192409)
> It was my understanding it defaulted to UTF-8.

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.