Will this updated patch work?
-Barry
Index: Charset.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/email/Charset.py,v
retrieving revision 1.13
diff -u -r1.13 Charset.py
--- Charset.py 6 Mar 2003 05:16:29 -0000 1.13
+++ Charset.py 29 Dec 2003 14:10:59 -0000
@@ -88,24 +88,8 @@
'ascii': 'us-ascii',
}
-# Map charsets to their Unicode codec strings. Note that Python doesn't come
-# with any Asian codecs by default. Here's where to get them:
-#
-# Japanese -- http://www.asahi-net.or.jp/~rd6t-kjym/python
-# Korean -- http://sf.net/projects/koco
-# Chinese -- http://sf.net/projects/python-codecs
-#
-# Note that these codecs have their own lifecycle and may be in varying states
-# of stability and useability.
-
+# Map charsets to their Unicode codec strings.
CODEC_MAP = {
- 'euc-jp': 'japanese.euc-jp',
- 'iso-2022-jp': 'japanese.iso-2022-jp',
- 'shift_jis': 'japanese.shift_jis',
- 'euc-kr': 'korean.euc-kr',
- 'ks_c_5601-1987': 'korean.cp949',
- 'iso-2022-kr': 'korean.iso-2022-kr',
- 'johab': 'korean.johab',
'gb2132': 'eucgb2312_cn',
'big5': 'big5_tw',
'utf-8': 'utf-8',
@@ -114,6 +98,22 @@
# Let that stuff pass through without conversion to/from Unicode.
'us-ascii': None,
}
+
+
+# Python doesn't come with any Asian codecs by default, but there are several
+# distutils packages available separately. The current preference is for the
+# combined CJKCodecs, providing Chinese, Japanese, and Korean codecs:
+#
+# CJKCodecs -- http://cjkpython.i18n.org
+#
+# Alternatively, you can download the separate Asian codecs:
+#
+# Japanese -- http://www.asahi-net.or.jp/~rd6t-kjym/python
+# Korean -- http://sf.net/projects/koco
+# Chinese -- http://sf.net/projects/python-codecs
+#
+# Note that all these codecs have their own lifecycle and may be in varying
+# states of stability and useability.
_______________________________________________
Mailman-Developers mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-developers