Ascii to Unicode.
Nobody
nobody at nowhere.com
Fri Jul 30 00:56:12 EDT 2010
On Thu, 29 Jul 2010 23:49:40 +0000, Steven D'Aprano wrote:
> It looks to me like Python uses a 16-bit implementation internally,
It typically uses the platform's wchar_t, which is 16-bit on Windows and
(typically) 32-bit on Unix.
IIRC, it's possible to build Python with 32-bit Unicode on Windows, but
that will be inefficient (because it has to convert to/from 16-bit
when calling Windows API functions) and will break any C modules which
pass the pointer to the internal buffer directly to API functions.
More information about the Python-list
mailing list