not quite 1252

"Martin v. Löwis" martin at v.loewis.de
Thu Apr 27 01:37:01 EDT 2006


Anton Vredegoor wrote:
>> Not sure I understand the question. If you process data in cp1252,
>> then \x94 and \x94 are legal characters, and the Python codec should
>> support them just fine.
> 
> Tell that to the guys from open-office.

Ok, I'll rephrase: Can you please explain your problem again, in
different words?

I thought you are trying to export data *from* open-office, and
your message seems to suggest (without actually saying so) that the
document contains \x93 and \x94 (you said "there are still characters in
it like \93 or \94").

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?

Regards,
Martin



More information about the Python-list mailing list