Python wide-python-build unicode for Windows

S

satheesh

Hi All,

How could i increase the unicode range beyond 10000 ?

In python 2.5.4 by default the unicode range is 0x10000, but in some cases
i have unicode char beyond the limit. For those conditions it th an error.

"""File "E:\OpenERP\OpenERP
AllInOne\Server\library.zip\reportlab\pdfbase\ttfonts.py", line 1197, in
splitString
ValueError: unichr() arg not in range(0x10000) (narrow Python build)"""

In Linux we can convert the "Narrow Python Build" to "Wide Python Build"
using the command "--enable-unicode=ucs4 configures a wide Py_UNICODE"

But how could i do this in Windows.

Note:
I used OpenERP All in one installer to install python 2.5.


Thank you,
--
SatheeshKumar. P
+91 99446 38595
+91 87544 15303
(e-mail address removed)
(e-mail address removed)
 
M

Martin v. Loewis

But how could i do this in Windows.

It's not supported. Hopefully, it will be supported in Python 3.3,
due to PEP 393.

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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,578
Members
45,052
Latest member
LucyCarper

Latest Threads

Top