Young, Darren wrote:

>Can anyone explain this one to me?
>
>Mar 04 07:35:02 2005 (4008) Uncaught runner exception: unknown encoding:
>gb2312
>Mar 04 07:35:02 2005 (4008) Traceback (most recent call last):
<snip>
>  File "/home/mailman-2.1/Mailman/Handlers/CookHeaders.py", line 74, in
>process
>    prefix_subject(mlist, msg, msgdata)
>  File "/home/mailman-2.1/Mailman/Handlers/CookHeaders.py", line 262, in
>prefix_subject
>    h.append(s, c)
>  File "/home/mailman-2.1/pythonlib/email/Header.py", line 285, in
>append
>    s = s.encode(outcodec, errors)
>LookupError: unknown encoding: gb2312

Someone has posted a message to the list with the Subject: encoded in
the gb2312 (Chinese) character set. It appears your Python doesn't
support this character set, but it also looks like the code in
CookHeaders.py protects against LookupError, so I'm not sure what's
going on in detail.

--
Mark Sapiro <[EMAIL PROTECTED]>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
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/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to