This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: email: ASCII decoding error on 8bit data
Type: Stage:
Components: Library (Lib) Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: barry Nosy List: barry, jasonrm
Priority: normal Keywords:

Created on 2002-10-10 17:12 by jasonrm, last changed 2022-04-10 16:05 by admin. This issue is now closed.

Messages (3)
msg12709 - (view) Author: Jason R. Mastaler (jasonrm) Date: 2002-10-10 17:12
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
msg12710 - (view) Author: Jason R. Mastaler (jasonrm) Date: 2002-10-14 23:05
Logged In: YES 
user_id=85984

Upgrading to email 2.4.3 solved this problem.  Thanks.
msg12711 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2002-10-14 23:47
Logged In: YES 
user_id=12800

Phew! :)
History
Date User Action Args
2022-04-10 16:05:44adminsetgithub: 37301
2002-10-10 17:12:40jasonrmcreate