Re: Problems with Unicode Plane 1 characters on Windows

2006-07-12 Thread Fredrik Lundh
Edin Salković wrote: > Why doesn't the following code work on Windows XP, although it works > on Linux (Ubuntu 6.06). Both versions are of Python are 2.4, and both > OSs are on the same PC. > import unicodedata unicodedata.name(U'\U0001d400') > Traceback (most recent call last): > File

Problems with Unicode Plane 1 characters on Windows

2006-07-12 Thread Edin Salković
Hi all, Why doesn't the following code work on Windows XP, although it works on Linux (Ubuntu 6.06). Both versions are of Python are 2.4, and both OSs are on the same PC. >>> import unicodedata >>> unicodedata.name(U'\U0001d400') Traceback (most recent call last): File "", line 1, in ? TypeError