REQ : encoding windows cp1252 => iso latin 1

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


"Gillou" <nospam at bigfoot.com> 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.

Regards,
Martin




More information about the Python-list mailing list