gb to chinese unicodes

David Phoon david.phoon at
Mon Jan 14 18:09:07 EST 2002

I posted a message on how to convert GB(simplified chinese) to unicode.
Paul Prescod gave me the answers in links provided - thanks a million

what i want to understand is how the library chinesecn etc gets
installed? which I don't seem to have on my
python2.0 install.

ie do they come from python2.x distributions? or do you have to install
them as separate libraries.. if so would that not
mean  modifying other files like __init__ to cater for the additional
libs? ref to the source code below:

from encodings.chinesecn import euc_gb23122utf, utf2euc_gb2312


david Phoon

More information about the Python-list mailing list