[Python-Dev] XML codec? (original) (raw)

Walter Dörwald walter at livinglogic.de
Thu Nov 8 22:27:50 CET 2007


Walter Dörwald wrote:

Martin v. Löwis wrote:

[...]

Correct, but as long as Python doesn't have an EBCDIC codec, that won't help much. Adding detection of EBCDIC to detectxmlencoding() is rather simple though. But it does! cp037 is EBCDIC, and supported by Python. I didn't know that. I'm going to update the patch.

Done: http://bugs.python.org/1399

I also renamed the codec to xml_auto_detect.

Servus, Walter



More information about the Python-Dev mailing list