On Saturday, August 23, 2003, at 10:19 AM, Ares Liu wrote:

When I use chinese subject, mailman 2.1 will get an error as follow:
LookupError: unknown encoding: gb2312

How to solve this error?

Make sure you have the Chinese codecs for Python installed. You can get them from:


http://sourceforge.net/projects/python-codecs/

(You will need to download the latest source from CVS and install it.)

It's possible that CJKCodecs will also work, if you don't know how to use CVS:

http://sourceforge.net/project/showfiles.php?group_id=46747

I have not tested CJKCodecs with Mailman, but it might work.

This will let Mailman convert gb2312 subject strings to Unicode, which will fix your error.

Ben


------------------------------------------------------ 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