Build problem with unicode and 2.1

Marcin 'Qrczak' Kowalczyk qrczak at knm.org.pl
Fri Jun 15 13:38:25 EDT 2001


Tue, 12 Jun 2001 10:18:33 -0700, David P Grote <dpgrote at lbl.gov> pisze:

> The Py_UNICODE type is required to be a 16-bit long, unsigned int.

BTW, why is this? In Unicode 3.1 characters have numbers in the range
U+0000..U+10FFFF.

There is UTF-16 which encodes characters above U+FFFF as pairs
of words, but it's not a natural representation of characters -
character codes have non-uniform lengths, as in UTF-8.

-- 
 __("<  Marcin Kowalczyk * qrczak at knm.org.pl http://qrczak.ids.net.pl/
 \__/
  ^^                      SYGNATURA ZASTĘPCZA
QRCZAK



More information about the Python-list mailing list