You are not logged in Log in Join
You are here: Home » Members » hewei » Zope RPMs for RedHat » Python 2.3 » Python Chinese GB Charset Support » View Document

Log in
Name

Password

 

Python Chinese GB Charset Support

--- Lib/encodings/aliases.py.gbk 2002-10-05 00:30:42.000000000 +0800
+++ Lib/encodings/aliases.py 2004-02-06 17:03:31.000000000 +0800
@@ -259,6 +259,10 @@
'csiso2022jp' : 'jis_7',
'iso_2022_jp' : 'jis_7',

+ # gb2312/gbk codec
+ 'gb2312' : 'cp936',
+ 'gbk' : 'cp936',
+
# koi8_r codec
'cskoi8r' : 'koi8_r',