On 4/29/2011 7:52 AM, sathe...@e-ndicus.com wrote:
How could i increase the unicode range beyond 10000 ?
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.
>>> chr(0x10FFFF)
'\U0010ffff'
>>> len(chr(0x10FFFF))
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
--
http://mail.python.org/mailman/listinfo/python-list