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


Groups > comp.lang.python > #4322

Re: Python wide-python-build unicode for Windows

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!nntpfeed.proxad.net!proxad.net!feeder1-1.proxad.net!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'bug': 0.02; 'subject:Python': 0.04; '2.x': 0.05; 'subject:build': 0.07; 'terry': 0.07; '3.x': 0.09; 'range,': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; '>>>': 0.12; 'am,': 0.14; 'version,': 0.14; 'wrote:': 0.14; 'subject:python': 0.15; 'narrow': 0.16; 'reedy': 0.16; 'subject:unicode': 0.16; 'workaround': 0.16; 'jan': 0.22; 'header:In-Reply-To:1': 0.22; 'version.': 0.23; 'changed': 0.27; 'beyond': 0.28; 'string': 0.29; 'subject:Windows': 0.29; 'unicode': 0.29; 'does': 0.31; 'to:addr :python-list': 0.32; 'header:X-Complaints-To:1': 0.34; 'file': 0.35; 'header:User-Agent:1': 0.35; 'which,': 0.35; 'case,': 0.36; 'report': 0.37; 'received:org': 0.38; 'returning': 0.39; 'to:addr:python.org': 0.39; 'could': 0.39; 'header:Mime- Version:1': 0.39; 'how': 0.39; 'windows.': 0.40; 'header:Received:5': 0.40; 'increase': 0.61; 'full': 0.62; '10000': 0.91
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Terry Reedy <tjreedy@udel.edu>
Subject Re: Python wide-python-build unicode for Windows
Date Fri, 29 Apr 2011 15:38:48 -0400
References <8a88fbe46f1fdf31965b8edc9b748162.squirrel@e-ndicus.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host rain.gmane.org
User-Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10
In-Reply-To <8a88fbe46f1fdf31965b8edc9b748162.squirrel@e-ndicus.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.999.1304105943.9059.python-list@python.org> (permalink)
Lines 21
NNTP-Posting-Host 82.94.164.166
X-Trace 1304105943 news.xs4all.nl 81475 [::ffff:82.94.164.166]:56039
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:4322

Show key headers only | View raw


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

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

csiph-web