not quite 1252

"Martin v. Löwis" martin at v.loewis.de
Wed Apr 26 13:13:45 EDT 2006


Anton Vredegoor wrote:
> The encoding that gives me the least problems seems to be cp1252,
> however it's not completely perfect because there are still characters
> in it like \93 or \94. Has anyone handled this before? I'd rather not
> reinvent the wheel and start translating strings 'by hand'.

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.

Regards,
Martin



More information about the Python-list mailing list