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.Header() encoding does not work properly
Type: Stage:
Components: Library (Lib) Versions: Python 2.2
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: barry Nosy List: ajung, barry
Priority: low Keywords:

Created on 2003-01-27 13:40 by ajung, last changed 2022-04-10 16:06 by admin. This issue is now closed.

Messages (3)
msg14229 - (view) Author: Andreas Jung (ajung) Date: 2003-01-27 13:40
CMFCollectorNG uses email.Header() to encode 
the Subject of notification emails. In some case
we discovered that Evolution and Mutt displayed
an empty subject. 

The Subject

"[CMFCollectorNG] #31 (Comment): noch: ein test"

is converted to 

Subject:
=?iso-8859-1?q?=5BCMFCollectorNG=5D_=2331_=28Comment=29=3A_ein=3A_test?=

The problem seems to occur if there is more than one colon
inside the subject.

Mailings with 

"[CMFCollectorNG] #31 (Comment): noch ein test"

as subject are recognized by the mail readers and being
displayed.

Upgrading to the latest email packages from the Python
HEAD did not solve the problem.

msg14230 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2003-03-06 06:26
Logged In: YES 
user_id=12800

I don't understand.  Where's the email package error?  It
seems like you're complaining about some MUA bugs. 

Can you upload (not paste) a Python code sample that
illustrates the bug?
msg14231 - (view) Author: Barry A. Warsaw (barry) * (Python committer) Date: 2003-03-17 18:50
Logged In: YES 
user_id=12800

Moving this to pending for auto-close if no further updates
are provided.
History
Date User Action Args
2022-04-10 16:06:11adminsetgithub: 37841
2003-01-27 13:40:56ajungcreate