[Email-SIG] set_payload() -- SF bug # 1409455 (original) (raw)
Tokio Kikuchi tkikuchi at is.kochi-u.ac.jp
Tue Feb 7 02🔞58 CET 2006
- Previous message: [Email-SIG] set_payload() -- SF bug # 1409455
- Next message: [Email-SIG] set_payload() -- SF bug # 1409455
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi again Barry,
Tokio Kikuchi wrote:
Barry Warsaw wrote:
Mark Sapiro submitted SF bug #1409455 against email 2.5.
https://sourceforge.net/tracker/index.php?func=detail&aid=1409455&groupid=5470&atid=105470 Hi, I am now testing the patch but it looks like it breaks some of japanese mail encoding rules, input/output charset conversion. I want to look at it closer but it may take some time because I'm busy this and next weeks on my students. :-(
This patch (in addition to the SF uploaded one) should be OK.
--- /home/mailman/src/sf/mailman-2.1/misc/email-2.5.6/email/Message.py Tue Feb 7 10:12:53 2006 +++ Message.py Tue Feb 7 09:55:55 2006 @@ -272,6 +272,8 @@ charset=charset.get_output_charset()) else: self.set_param('charset', charset.get_output_charset())
if str(charset) <> charset.get_output_charset():self._payload = charset.body_encode(self._payload) if not self.has_key('Content-Transfer-Encoding'): cte = charset.get_body_encoding() if callable(cte):
Cheers,
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp http://weather.is.kochi-u.ac.jp/
- Previous message: [Email-SIG] set_payload() -- SF bug # 1409455
- Next message: [Email-SIG] set_payload() -- SF bug # 1409455
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]