[I18n-sig] Re: [Mailman-Developers] Re: [Mailman-checkins] mailman/misc CJKCodecs-1.0.tar.gz, NONE, .cvsignore, 2.2, Makefile.in,, paths.py.in, 2.6, JapaneseCodecs-1.4.9.tar.gz, 2.1, NONE KoreanCodecs-2.0.5.tar.gz, 2.1, NONE

Hye-Shik Chang perky at i18n.org
Mon Dec 29 09:44:09 EST 2003

On Mon, Dec 29, 2003 at 09:10:24AM -0500, Barry Warsaw wrote:
> On Mon, 2003-12-29 at 08:53, Barry Warsaw wrote:
> > It would be nice if cjkcodecs provided backwards compatibility. 
> > Otherwise, we probably want to provide some ourselves in
> > email/Charset.py.  I'm not sure there's a better way to do this, but
> > attached is a strawman (untested) patch for email 2.5.5/Python 2.3.4.  
> Amend that.  If I understand how all this works correctly, then
> importing cjkcodecs.aliases provides direct mapping for all the
> charsets.  So since we already have "import cjkcodecs.aliases" in
> Mailman's paths.py, we could just delete euc-jp, iso-2022-jp, shift_jis,
> euc-kr, iso-2022-kr, ks_c_5601-1987, and johab from CODEC_MAP and be
> done with it.
> It looks like we didn't need these aliases in CODEC_MAPS even with the
> older codec packages, since they define all the aliases as well.

It's true. But except for ChineseCodecs.


More information about the I18n-sig mailing list