R. David Murray added the comment:

You are, but you are also calling as_string.  Unicode can not handle 8bit data, 
therefore the email package must down-transform all data to 7bit when 
converting it to a string, just like a mail server trying to send to another 
mail server that can only handle 7bit would do.

If you used BytesGenerator to serialize the message, *then* you would expect to 
see 8bit utf-8 data in the body.

There are supposed to be tests for these cases, so I have to investigate why 
the tests are broken, as well :)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19063>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to