not quite 1252

Anton Vredegoor anton.vredegoor at gmail.com
Fri Apr 28 15:32:58 EDT 2006


Martin v. Löwis wrote:

> So if that is the case: What is the problem then? If you interpret
> the document as cp1252, and it contains \x93 and \x94, what is
> it that you don't like about that? In yet other words: what actions
> are you performing, what are the results you expect to get, and
> what are the results that you actually get?

Well, where do these cp1252 codes come from? The xml-file claims it's 
utf-8.

I just tried out some random decodings and cp1252 seemed to work. I 
don't like to have to guess this way. I think John wouldn't even allow 
it :-)

Anton



More information about the Python-list mailing list