Problems with Unicode Plane 1 characters on Windows
Edin Salković
edin.salkovic at gmail.com
Wed Jul 12 09:51:24 EDT 2006
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 "<stdin>", line 1, in ?
TypeError: need a single Unicode character as parameter
The output should say:
MATHEMATICAL BOLD CAPITAL A
Thanks,
Edin
More information about the Python-list
mailing list