Hi,

Dan Phillips wrote:

MM 2.1.3, Postfix 2.0.9, OS X

Password reminders sent out this morning generated the following error for all subscribers who have chosen Japanese as their language of choice:

I got this error too. Japanese seems to be the only language
where output_codec differs input_codec and needs to convert().

Oct 01 05:04:42 2003 (16972) Uncaught runner exception: decoding Unicode is not supported
Oct 01 05:04:42 2003 (16972) Traceback (most recent call last):
File "/users/mailman/Mailman/Queue/Runner.py", line 110, in _oneloop
self._onefile(msg, msgdata)
(snip)
    s = self.convert(s)
  File "/users/mailman/pythonlib/email/Charset.py", line 269, in convert
    return unicode(s, self.input_codec).encode(self.output_codec)
TypeError: decoding Unicode is not supported

Oct 01 05:04:42 2003 (16972) SHUNTING: 1065002402.120966+15739cc63fad35075a9d11d4cab4c282919d2340


AFAIK, this has not happened before; at least there was no problem on September 1. The only thing changed since then has been updating to 2.1.3. Unicode support is certainly included in OS X.

Sometime between 2.1.2 and 2.1.3, they switched the 'msg' charset from 'euc_jp' to unicode. Workaround is to apply this patch to <prefix>/pythonlib/email

http://mm.tkikuchi.net/email.patch.20031001


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


------------------------------------------------------ Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to