REQ : encoding windows cp1252 => iso latin 1

Gillou nospam at bigfoot.com
Tue Feb 5 13:01:26 EST 2002


Hi,

This is an emergency ;-)

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.

Thanks in advance for any help.

--Gillou

PS1: I can't use Unicode facilities cause I'm always running python 1.5.2
(old Zope).
PS2: Please reply to glenfant_at_bigfoot.com, the "Freo/Reply-to" headers
are antispam.






More information about the Python-list mailing list