[issue21567] cannot create multipart alternative message with us-ascii charset

2014-05-23 Thread Viktor Szépe
Viktor Szépe added the comment: Sorry! How come that new_msg.set_charset('utf-8') works? -- ___ Python tracker <http://bugs.python.org/issue21567> ___ ___

[issue21567] cannot create multipart alternative message with us-ascii charset

2014-05-23 Thread Viktor Szépe
New submission from Viktor Szépe: Python 2.7.6 (default, May 22 2014, 00:19:36) [GCC 4.7.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> from email.mime.multipart import MIMEMultipart >>> new_msg