Comment 3 for bug 1442298

Revision history for this message
KOMEDA Shinji (komeda-shinji) wrote :

I'm using Mailman 2.1.16 in Ubuntu box, in my environment

    DEFAULT_SERVER_LANGUAGE = 'ja'

and Ubuntu has the following code in Mailman/Defaults.py

    import sys
    reload(sys)
    sys.setdefaultencoding('utf-8')

These code came from debian/patches/91_utf8.patch.

I changed "regexp.decode()" to "regexp.decode(Utils.GetCharSet(mlist.preferred_language))",
It works fine.

Thank you.