REQ : encoding windows cp1252 => iso latin 1

Martin v. Loewis martin at
Mon Feb 11 08:33:50 EST 2002

"Gillou" <nospam at> writes:

> My customers make copy/paste from M$ word docs to forms translated to XML
> (expecting ISO latin 1 charset).
> My XML parser (pyexpat) does not accept cp1252 character, and I'm looking
> for a function that can translate extra cp1252 characters to the closest ISO
> latin 1 encoding.

Depending on the exact version of software you are using, this is a
bug: pyexpat should accept cp1252 as an encoding name. Please report a
bug (including precise test case) to SF.


More information about the Python-list mailing list