Ron Garret wrote:
>>>> 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)

Not sure if this really helps you, but:

 >>> u'\xbd'
u'\xbd'
 >>> print _
½
 >>>
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to