Jean-Paul Calderone wrote:
>  u'11\xa022'.encode('charmap')

thx a lot. one more question, once a unicode object is created e.g.

u=unicode('hello', 'iso-8859-1')

is there any way to find:
        1-original encoding of u
        2-list of supported encodings?

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

Reply via email to