New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message encoding support #3

merged 8 commits into from Mar 15, 2012


None yet
2 participants

rpatterson commented Mar 15, 2012

Needed for the latest push to my fork of pyramid_mailer as well.

rpatterson added some commits Mar 14, 2012

Add a helper function for predictable and sane encoding of message he…

This is the result of long conversations about the RFC's, the `email`
package and various bugs and quirks in both.
Tolerate some Python 2.7 and PyPy output differences.
For some reason, under Python 2.6 and 3.2, the encoding is included in
the RFC 2047 prefix as 'utf_8' but under 2.7 and 3.2 it is 'utf-8'
with a dash instead of an underscore.

@mcdonc mcdonc merged commit 60ae523 into repoze:master Mar 15, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment