Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #4322 > unrolled thread

Re: Python wide-python-build unicode for Windows

Started byTerry Reedy <tjreedy@udel.edu>
First post2011-04-29 15:38 -0400
Last post2011-04-29 15:38 -0400
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Python wide-python-build unicode for Windows Terry Reedy <tjreedy@udel.edu> - 2011-04-29 15:38 -0400

#4322 — Re: Python wide-python-build unicode for Windows

FromTerry Reedy <tjreedy@udel.edu>
Date2011-04-29 15:38 -0400
SubjectRe: Python wide-python-build unicode for Windows
Message-ID<mailman.999.1304105943.9059.python-list@python.org>
On 4/29/2011 7:52 AM, satheesh@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

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web