tuple problem

Nikolay Kim fafhrd at datacom.kz
Fri Sep 6 06:53:14 CEST 2002


hi.

i have some problem.

simple code

>>> t = '\xba\xd0\xd7\xd0\xe5'
>>> t
'\xba\xd0\xd7\xd0\xe5'
>>> print t
ºÐ×Ðå
>>> print "%s" % t
ºÐ×Ðå
>>> 

t is string in utf-8 encoding
but after print it iso-8859-5 
it's ok or error in python?






More information about the Python-list mailing list