Re: 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

Hye-Shik Chang <[email protected]>
Newsgroups gmane.comp.python.internationalization,gmane.mail.mailman.devel,gmane.comp.python.mime.devel,gmane.mail.mailman.internationalization
Organization Yonsei University
Message-ID <[email protected]>
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.


Hye-Shik
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.