[ python-Bugs-1582282 ] email.header decode within word
SourceForge.net
noreply at sourceforge.net
Wed Mar 14 06:00:27 CET 2007
Bugs item #1582282, was opened at 2006-10-22 09:16
Message generated for change (Comment added) made by bwarsaw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1582282&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Python Library
Group: Python 2.5
>Status: Closed
>Resolution: Rejected
Priority: 5
Private: No
Submitted By: Tokio Kikuchi (tkikuchi)
Assigned to: Barry A. Warsaw (bwarsaw)
Summary: email.header decode within word
Initial Comment:
The problem is filed in mailman bug report:
http://sourceforge.net/tracker/index.php?func=detail&aid=1578539&group_id=103&atid=100103
While Microsoft Entourage's way of encoding iso-8859-1
text is not compliant with RFC-2047, Python
email.header.decode_header should treat this 'word' as
a simple us-ascii string and should not parse into
series of string/charset list.
Sm=?ISO-8859-1?B?9g==?=rg=?ISO-8859-1?B?5Q==?=sbord
should be parsed as
[('Sm=?ISO-8859-1?B?9rg==?=g=?ISO-8859-1?B?5Q==?=sbord',
None)], not as [('Sm', None), ('\xf6', 'iso-8859-1'),
('g', None), ('\xe5', 'iso-8859-1'), ('sbord', None)]
----------------------------------------------------------------------
>Comment By: Barry A. Warsaw (bwarsaw)
Date: 2007-03-14 01:00
Message:
Logged In: YES
user_id=12800
Originator: NO
r54370 for Python 2.5
r54371 for Python 2.6
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1582282&group_id=5470
More information about the Python-bugs-list
mailing list