FAQ
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
satheesh at e-ndicus.com
pskumar65 at gmail.com

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 3 | next ›
Discussion Overview
grouppython-list @
categoriespython
postedApr 29, '11 at 11:52a
activeApr 29, '11 at 7:38p
posts3
users3
websitepython.org

People

Translate

site design / logo © 2022 Grokbase