R. David Murray rdmur...@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 rep...@bugs.python.org
http://bugs.python.org/issue1555842
___
___
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com