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