[Python-bugs-list] [ python-Bugs-621457 ] email: ASCII decoding error on 8bit data

noreply@sourceforge.net noreply@sourceforge.net
Thu, 10 Oct 2002 10:13:24 -0700


Bugs item #621457, was opened at 2002-10-10 11:12
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=621457&group_id=5470

Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jason R. Mastaler (jasonrm)
>Assigned to: Barry A. Warsaw (bwarsaw)
Summary: email: ASCII decoding error on 8bit data

Initial Comment:
email 2.4.1 raises a UnicodeError when encountering
8-bit strings in rfc2822 message headers.  Although
this is not RFC compliant, it is commonly the case for
spam messages originating from Asia.

It was suggested on mimelib-devel that email should
offer 'strict', 'ignore', and 'replace' modes for the 
programmer to decide what they want to do with 
invalid 8-bit data.

This bug was discussed on the mimelib-devel list.
See the thread starting at:

http://article.gmane.org/gmane.comp.python.mime.devel/199


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=621457&group_id=5470