I feel stacked here trying to change encodings with Python 2.5
I have XML response, which I encode to UTF-8: response.encode(\'utf-8\'). That is fine, but t
response.encode(\'utf-8\')
data="UTF-8 data" udata=data.decode("utf-8") data=udata.encode("latin-1","ignore")
Should do it.