By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,767 Members | 1,334 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,767 IT Pros & Developers. It's quick & easy.

Problems with Unicode Plane 1 characters on Windows

P: n/a
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
Jul 12 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.