Wide Unicode build for Windows available somewhere?

C

cwittern

Hi there,

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.
Any pointers appreciated.

Chris
 
?

=?ISO-8859-1?Q?=22Martin_v=2E_L=F6wis=22?=

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,733
Messages
2,569,440
Members
44,829
Latest member
PIXThurman

Latest Threads

Top