![](https://secure.gravatar.com/avatar/acf9e456efc276f4cf8fa283687c7a24.jpg?s=120&d=mm&r=g)
Dear Experts,
When one of my user sent Chinese emails (both contents and
subject), my Mailman v2.1.4 give the following errors:
Feb 16 09:26:05 2004 (18754) SHUNTING: 1076835446.5623169+add7c7b00843e724cbea05418920ebc84ce5166d
Feb 16 16:30:47 2004 (18754) Uncaught runner exception: unknown encoding: big5_tw
Feb 16 16:30:47 2004 (18754) Traceback (most recent call last):
File "/home/mailman/Mailman/Queue/Runner.py", line 110, in _oneloop
self._onefile(msg, msgdata)
File "/home/mailman/Mailman/Queue/Runner.py", line 160, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
File "/home/mailman/Mailman/Queue/IncomingRunner.py", line 130, in _dispose
more = self._dopipeline(mlist, msg, msgdata, pipeline)
File "/home/mailman/Mailman/Queue/IncomingRunner.py", line 153, in _dopipeline
sys.modules[modname].process(mlist, msg, msgdata)
File "/home/mailman/Mailman/Handlers/CookHeaders.py", line 74, in process
prefix_subject(mlist, msg, msgdata)
File "/home/mailman/Mailman/Handlers/CookHeaders.py", line 262, in prefix_subject
h.append(s, c)
File "/home/mailman/pythonlib/email/Header.py", line 285, in append
s = s.encode(outcodec, errors)
LookupError: unknown encoding: big5_tw
Which file I should modify to fix that problem??
Thank you very much for your kind help and attention!
Regards, Patrick
Patrick Lam Sze Fan Computer Officer II Medical Information Technology, Faculty of Medicine, The Chinese University of Hong Kong Tel:21455213 Fax:26352521
![](https://secure.gravatar.com/avatar/c224d76249fe2c4abdce2ffd5ef49112.jpg?s=120&d=mm&r=g)
"Patrick Lam" <patrick@med.cuhk.edu.hk> writes:
LookupError: unknown encoding: big5_tw
Python does not come with Chinese codecs out of the box. Try installing the CJKCodecs package from http://cjkpython.i18n.org/
participants (2)
-
Jason R. Mastaler
-
Patrick Lam