A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2001-July/016154.html below:

[Python-Dev] 2.2 Unicode questions

[Python-Dev] 2.2 Unicode questions [Python-Dev] 2.2 Unicode questionsAndrew Kuchling akuchlin@mems-exchange.org
Fri, 20 Jul 2001 12:42:47 -0400
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.
 
--amk



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