CVS: tmda/TMDA/pythonlib/email Charset.py,1.9,1.10

"Jason R. Mastaler" <[email protected]>
Newsgroups gmane.mail.spam.tmda.cvs
Message-ID <[email protected]>
Update of /cvsroot/tmda/tmda/TMDA/pythonlib/email
In directory sc8-pr-cvs1:/tmp/cvs-serv7407/TMDA/pythonlib/email

Modified Files:
	Charset.py 
Log Message:
It turns out that we can support both KoreanCodecs/JapaneseCodecs as
well as CJKCodecs.  As {CJK,Japanese,Korean}Codecs have their own .pth
file that registers their encoding aliases, there's no need to use a
specific module prefix like 'japanese.', 'korean.', or 'cjkcodecs.'.
The only incompatibility is with ChineseCodecs.


Index: Charset.py
===================================================================
RCS file: /cvsroot/tmda/tmda/TMDA/pythonlib/email/Charset.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- Charset.py	26 Nov 2003 00:39:50 -0000	1.9
+++ Charset.py	26 Nov 2003 19:19:34 -0000	1.10
@@ -94,15 +94,15 @@
 # unicode codec set for Chinese, Japanese and Korean encodings.
 
 CODEC_MAP = {
-    'euc-jp':      'cjkcodecs.euc-jp',
-    'iso-2022-jp': 'cjkcodecs.iso-2022-jp',
-    'shift_jis':   'cjkcodecs.shift_jis',
-    'euc-kr':      'cjkcodecs.euc-kr',
-    'ks_c_5601-1987': 'cjkcodecs.cp949',
-    'iso-2022-kr': 'cjkcodecs.iso-2022-kr',
-    'johab':       'cjkcodecs.johab',
-    'gb2312':      'cjkcodecs.gb2312',
-    'big5':        'cjkcodecs.big5',
+    'euc-jp':      'euc-jp',
+    'iso-2022-jp': 'iso-2022-jp',
+    'shift_jis':   'shift_jis',
+    'euc-kr':      'euc-kr',
+    'ks_c_5601-1987': 'cp949',
+    'iso-2022-kr': 'iso-2022-kr',
+    'johab':       'johab',
+    'gb2312':      'gb2312',
+    'big5':        'big5',
     'utf-8':       'utf-8',
     # Hack: We don't want *any* conversion for stuff marked us-ascii, as all
     # sorts of garbage might be sent to us in the guise of 7-bit us-ascii.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.