This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients barry, r.david.murray
Date 2015-05-16.21:19:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1431811149.98.0.538401086698.issue24211@psf.upfronthosting.co.za>
In-reply-to
Content
I could have sworn there was an issue for this already, but I couldn't find it.

Attached patch adds a utf8 policy knob and an SMTPUTF8 policy instance, and modifies BytesGenerator and the _header_value_parser to use that policy setting to generate utf8 headers instead of encoding non-ascii using encoded words.  (I designed the new code to make it easy to support this RFC, but even I had no idea the patch would be so small.  I hope I didn't miss anything.)

I will probably commit this tomorrow, since the deadline is looming.
History
Date User Action Args
2015-05-16 21:19:10r.david.murraysetrecipients: + r.david.murray, barry
2015-05-16 21:19:09r.david.murraysetmessageid: <1431811149.98.0.538401086698.issue24211@psf.upfronthosting.co.za>
2015-05-16 21:19:09r.david.murraylinkissue24211 messages
2015-05-16 21:19:09r.david.murraycreate