[XML-SIG] how to get xml parse with non ascii charset
Martin v. Löwis
martin at v.loewis.de
Sat Jul 5 09:35:21 EDT 2003
Dieter Maurer <dieter at handshake.de> writes:
> XML processing systems (such as the parser "Expat") are only required
> to support UTF-8 (and maybe UTF-16) encodings. All other
> encodings are optional.
>
> Apparently, "Expat" does not support "gb2312".
Correct. pyexpat only supports single-byte encodings, and UTF-8. If
you want to use other encodings with PyXML, you will have to use
xmlproc.
Regards,
Martin
More information about the XML-SIG
mailing list