[issue12552] email.MIMEText overide BASE64 for utf8 charset
R. David Murray
report at bugs.python.org
Wed Jul 13 18:41:10 CEST 2011
R. David Murray <rdmurray at bitdance.com> added the comment:
This should do what you want:
from email import charset
charset.add_charset('utf-8', charset.SHORTEST, charset.QP)
This will override the default handling of utf-8 (which is BASE64, as you note).
If this doesn't solve your problem please reopen the issue.
It is a valid feature request (for 3.3) to have a way to make this '8bit'. I think I'll open an issue for that.
----------
assignee: -> r.david.murray
components: +Library (Lib) -None
nosy: +r.david.murray
resolution: -> invalid
stage: -> committed/rejected
status: open -> closed
title: email.MIMEText overide BASE64 on TEXT/HTML -> email.MIMEText overide BASE64 for utf8 charset
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12552>
_______________________________________
More information about the Python-bugs-list
mailing list