[issue1555842] email package and Unicode strings handling

R. David Murray report at bugs.python.org
Wed Jun 2 04:19:09 CEST 2010


R. David Murray <rdmurray at bitdance.com> added the comment:

It took me a while to figure out why latin-1 works.  I turns out to be an accident: latin-1 uses quoted-printable encoding, and the email quoprimime module accidentally manages to quote unicode characters in the latin-1 range.

The Header example, as noted by the OP, is working as documented.  This confusing interface isn't going to get fixed in the current email package.  The equivalent email6 API will be cleaner.

The MIMEText portion is a duplicate of issue 1368247.

----------
resolution:  -> duplicate
stage: unit test needed -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1555842>
_______________________________________


More information about the Python-bugs-list mailing list