Andrew Kuchling wrote: > > On Fri, Jul 20, 2001 at 06:39:30PM +0200, M.-A. Lemburg wrote: > >Same here: UTF-16 -> UCS-2. Note that I very much favour > >removing the surrogate generation in unichr() for UCS2-builds. > > Do I understand the new behavior you intend to implement? > * Narrow Python: unichr() accepts values from 0 .. 65535. len(unichr(x)) > is always 1. > * Wide Python: unichr() accepts values from 0 .. 0x110000. len(unichr(x)) > is also always 1. Right. -- Marc-Andre Lemburg CEO eGenix.com Software GmbH ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Software: http://www.lemburg.com/python/
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4