On 19.12.12 17:40, Chris Angelico wrote:
Interestingly, IDLE on my Windows box can't handle the bolded
characters very well...

s="\U0001d407\U0001d41e\U0001d425\U0001d425\U0001d428, 
\U0001d430\U0001d428\U0001d42b\U0001d425\U0001d41d!"
print(s)
Traceback (most recent call last):
   File "<pyshell#2>", line 1, in <module>
     print(s)
UnicodeEncodeError: 'UCS-2' codec can't encode character '\U0001d407'
in position 0: Non-BMP character not supported in Tk

I think this is most likely a case of "yeah, Windows XP just sucks".
But I have no reason or inclination to get myself a newer Windows to
find out if it's any different.

No, this is a Tcl/Tk limitation (I don't know if this was fixed in 8.6).

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to