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 detect_xml_encoding() 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 _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com