Michael Hudson wrote:
I use xml.sax to parse big5 encoding xml file.
And I got message "unknown encoding: big5".
What can I do?
Install CJKCodecs? (Just a guess).
That helps, but is insufficient. Expat (or, atleast, pyexpat)
supports only single-byte non-UTF charsets. To parse multi-byte
charsets, you need xmlproc (from PyXML), and you need to tell
xml.sax to use xmlproc (e.g. by asking for drv_xmlproc).
Regards,
Martin