[Patches] [ python-Patches-658407 ] email: minimal header encoding

noreply@sourceforge.net noreply@sourceforge.net
Tue, 24 Dec 2002 23:47:07 -0800


Patches item #658407, was opened at 2002-12-25 16:47
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=658407&group_id=5470

Category: Library (Lib)
Group: Python 2.2.x
Status: Open
Resolution: None
Priority: 5
Submitted By: Hatuka*nezumi (hatukanezumi)
Assigned to: Nobody/Anonymous (nobody)
Summary: email: minimal header encoding

Initial Comment:
Most implementations using 'B' header encoding (e.g. for
ISO-2022-JP) encode 'minimal' portions of header value and
do not encode US-ASCII portions as much as possible.
This patch does this.


Current version (2.4.3) of email.Header module encodes
whole of header value.  Though this feature is 
MIME-compliant, especially with 'B' encoding, causes
some difficulty.

For example: Subject prefix of mailing list postings
are usually
written in ASCII characters -- GL part of its charset.
 Encoded
form of subject prefix is not only human-readable but also 
some search, header-rewrite etc. capabilities are forced to
implement preprocessing for decoding.


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

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