[Mailman-Users] "unsupported format character" error on Japanese text in autoresponse_postings_text

Myk Melez myk at mozilla.org
Sat Apr 10 01:59:42 CEST 2004


One of the lists I host on a mailman 2.0.13 installation fields 
discussions in Japanese.  The value of autoresponse_postings_text is in 
a Japanese character set (ISO-2022-JP I believe) which, when parsed as 
if it was ASCII or ISO-8859-1, contains the string "%a".

When qrunner tries to autorespond to a posting on that list, it fails to 
handle it and logs the following error in the error log:

Apr 09 16:56:17 2004 (24333) Delivery exception: unsupported format 
character 'a' (0x61)
Apr 09 16:56:17 2004 (24333) Traceback (innermost last):
  File "/var/mailman/Mailman/Handlers/HandlerAPI.py", line 82, in 
do_pipeline
    func(mlist, msg, msgdata)
  File "/var/mailman/Mailman/Handlers/Replybot.py", line 78, in process
    text = mlist.autoresponse_postings_text % d
ValueError: unsupported format character 'a' (0x61)

What can be done to fix this?

-myk





More information about the Mailman-Users mailing list