Wide Unicode build for Windows available somewhere?

"Martin v. Löwis" martin at v.loewis.de
Wed Jan 12 03:12:43 EST 2005


cwittern at yahoo.com wrote:
> I am trying to locate a windows binary of a recent python (2.4
> preferred, but not essential) with support for Unicode characters
> with values greater than 0x10000. I have tested the python.org
> binaries and those from Activestate, both give me a traceback on
> unichr(0x10000) and tell me its a "narrow" build.

Wide unicode is currently not supported on Windows. A number of
internal APIs (in particular for the registry, and for the "mbcs"
codec) assume that sizeof(Py_UNICODE) is 2. Contributions are
welcome.

Even with that fixed, Pythonwin would still need a major rework
to support wide Unicode.

Regards,
Martin



More information about the Python-list mailing list