[Python-bugs-list] [ python-Bugs-675420 ] email.Header() encoding does not work properly

SourceForge.net noreply@sourceforge.net
Mon, 27 Jan 2003 05:40:56 -0800


Bugs item #675420, was opened at 2003-01-27 08:40
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=675420&group_id=5470

Category: Extension Modules
Group: Python 2.2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Andreas Jung (ajung)
Assigned to: Nobody/Anonymous (nobody)
Summary: email.Header() encoding does not work properly

Initial Comment:
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.



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

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