Vajrasky Kok added the comment:

Here is the preliminary patch to fix the problem. My patch produces 8bit for 
msg.as_string and msg.as_bytes for simplicity reason.

If msg.as_string should gives content-transfer-encoding 7bit with 8bit data but 
msg.as_bytes should gives content-transfer-encoding 8bit with 8bit data, I can 
modify the patch. But it doesn't feel right...

----------
keywords: +patch
nosy: +vajrasky
Added file: 
http://bugs.python.org/file32426/fix_8bit_data_charset_none_set_payload.patch

_______________________________________
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