How to make python support Asian encoding(like GB2312,BIG-5...) with XML file?

Andrew Xia xiayingq at sina.com
Thu Mar 27 17:16:54 CET 2003


I wanna parse an XML file encoded with 'GB2312'. I know the python builtin
encoding only support 'UTF-8','iso-8859-1'...Then I installed
'chinesecodecs1.2', but the 'unknown encoding' error also occured when
parsing the XML file encoded with 'GB2312'. How can I do then? Thank you for
you help!








More information about the Python-list mailing list