Hello, everyone
When I use chinese subject, mailman 2.1 will get an error as follow:
Aug 24 01:11:33 2003 (2466) Uncaught runner exception: unknown encoding:
gb2312
Aug 24 01:11:33 2003 (2466) Traceback (most recent call last):
File "/var/mailman/Mailman/Queue/Runner.py", line 105, in _oneloop
self._onefile(msg, msgdata)
File "/var/mailman/Mailman/Queue/Runner.py", line 155, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
File "/var/mailman/Mailman/Queue/IncomingRunner.py", line 129, in _dispose
status = self._dopipeline(mlist, msg, msgdata, pipeline)
File "/var/mailman/Mailman/Queue/IncomingRunner.py", line 152, in
_dopipeline
sys.modules[modname].process(mlist, msg, msgdata)
File "/var/mailman/Mailman/Handlers/CookHeaders.py", line 74, in process
prefix_subject(mlist, msg, msgdata)
File "/var/mailman/Mailman/Handlers/CookHeaders.py", line 253, in
prefix_subject
h.append(s, c)
File "/var/mailman/pythonlib/email/Header.py", line 243, in append
s = s.encode(outcodec)
LookupError: unknown encoding: gb2312
How to solve this error?
Thanks very much!
-Ares
--
Nuclear Science & Technology Virtual Research Center
http://nst.pku.edu.cn
------------------------------------------------------
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