[Python] Python wide-python-build unicode for Windows
Martin v. Loewis
Apr 29, 2011 at 7:16 pm
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.
: 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
: Use Python3, which, after renaming unichar to chr, changed it to always accept the full range of codepoints, even when that means returning a two-char string on narrow builds, like windows. '\U0010ffff' 2 If OpenERP does not have a 3.x version, encourage them to make one to take advantage of the unicode improvements. Tell them the use case, that you want to use the full range, even on windows. Or file a bug report requesting a workaround in the 2.x version. -- Terry Jan Reedy
unicode shutil.copy() changes a file name during copy?
how to let shell.SendKeys use unicode on windows in python
shlex, unicode, and subprocess.Popen on Windows
Converting datetime.ctime() values to Unicode
WinXP, Python3.1.2, dir-listing to XML - problem with unicode file names
Python unicode and Windows cmd.exe
Does Python mess with the (unicode) code page?
break unichr instead of fix ord?
How to get Python to default to UTF8
Windows XP unicode and escape sequences
2 of 3
Apr 29, '11 at 11:52a
Apr 29, '11 at 7:38p
3 users in discussion
Terry Reedy (1)
Martin v. Loewis (1)
Groups & Organizations
site design / logo © 2022 Grokbase