xml unknown encoding: big5

Ray B. X. Zhou ray.chou at msa.hinet.net
Sun Feb 15 09:16:12 EST 2004


Thank you very much. I'll try it.

-- 

Ray

> 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
>





More information about the Python-list mailing list