Bugs item #1409538, was opened at 2006-01-18 19:35 Message generated for change (Comment added) made by bwarsaw You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1409538&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Python Library Group: Python 2.3 Status: Open Resolution: None Priority: 5 Submitted By: Tokio Kikuchi (tkikuchi) Assigned to: Barry A. Warsaw (bwarsaw) Summary: email.Charset.py CODEC_MAP no longer requires 'japanese' Initial Comment: The commonly used JapaneseCodecs no longer requires 'japanese' prefix in codec specification. On the other hand if a user install CJKCodecs instead of JapaneseCodecs, 'japanese' prefix cause error. This was already fixed in email-3.0 (Python 2.4) but should be fixed in email-2.5.x if we want to support mailman-2.2 for Python 2.3. It looks like 'korean' can also be stripped. See attached patch. ---------------------------------------------------------------------- >Comment By: Barry A. Warsaw (bwarsaw) Date: 2006-02-07 22:07 Message: Logged In: YES user_id=12800 The attached patch addresses the issue both in this issue and in 1409544. It's a bit more extensive because it tries to figure out whether the Japanese and Korean codecs are available under their Python 2.4 names or under their old names. I've run this test under all Pythons from 2.1 to 2.5, albeit without the third party codecs under anything before 2.4. ---------------------------------------------------------------------- Comment By: Tokio Kikuchi (tkikuchi) Date: 2006-02-07 19:06 Message: Logged In: YES user_id=67709 Looks like we should retain CODEC_MAP in order to properly encode Japanese text into iso-2022-jp (canonical japanese message charset). We need lines like this: CODEC_MAP = { 'euc-jp': 'euc-jp', 'iso-2022-jp': 'iso-2022-jp', ... 'us-ascii': None } ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1409538&group_id=5470 _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com