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

Barry Warsaw <[email protected]>
Newsgroups gmane.comp.python.mime.devel,gmane.mail.mailman.devel,gmane.mail.mailman.internationalization,gmane.comp.python.internationalization
Organization Damned Crazy Followers of the Horn
Message-ID <1072707023.1796.47.camel@anthem>
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.

-Barry
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.