[Mailman-i18n] Re: [I18n-sig] 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

Tokio Kikuchi tkikuchi at is.kochi-u.ac.jp
Tue Dec 30 07:12:25 EST 2003


I think this patch will fix.

@@ -221,6 +220,8 @@
         # it.
         henc, benc, conv = CHARSETS.get(self.input_charset,
                                         (SHORTEST, BASE64, None))
+        if not conv:
+            conv = self.input_charset
         # Set the attributes, allowing the arguments to override the
default.
         self.header_encoding = henc
         self.body_encoding = benc
@@ -230,7 +231,7 @@
         self.input_codec = CODEC_MAP.get(self.input_charset,
                                          self.input_charset)
         self.output_codec = CODEC_MAP.get(self.output_charset,
-                                            self.input_codec)
+                                            self.output_charset)

     def __str__(self):
         return self.input_charset.lower()

Sorry for folding.


Barry Warsaw wrote:

> On Mon, 2003-12-29 at 23:00, Barry Warsaw wrote:
> 
> 
>>Looks like we'll have to.  The other problem is that I can't make the
>>necessary changes to the email package until the Python 2.3 branch is
>>freed up and it doesn't look that that will happen in time.  I don't
>>want to include an unreleased version of the email package with Mailman
>>2.1.4.
> 
> 
> Besides, my patch for Charset.py breaks Python's test suite.  I'm not
> yet sure what the right way to fix this is.
> 
> http://sourceforge.net/tracker/index.php?func=detail&aid=852347&group_id=5470&atid=105470
> 
> -Barry
> 
> 
> 
> _______________________________________________
> Mailman-i18n mailing list
> Posts: Mailman-i18n at python.org
> Unsubscribe: http://mail.python.org/mailman/options/mailman-i18n/tkikuchi%40is.kochi-u.ac.jp
> 
> 

-- 
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp
http://weather.is.kochi-u.ac.jp/




More information about the I18n-sig mailing list