WTF? Printing unicode strings

Ron Garret rNOSPAMon at flownet.com
Thu May 18 23:23:04 CEST 2006


>>> u'\xbd'
u'\xbd'
>>> print _
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
UnicodeEncodeError: 'ascii' codec can't encode character u'\xbd' in 
position 0: ordinal not in range(128)
>>>



More information about the Python-list mailing list