Illirgway added the comment:
base64, quoted-printable and 7bit messages only use ASCII range of
characters so raw_message.decode('ascii') == raw_message.decode('latin1') ==
etc. == raw_message.decode('utf-8') due to internal representation of utf-8
characters
P.S. Python 3.4.0 beta 1 Lib
Illirgway added the comment:
because strict throws an exception (for example, on raw win1251) which brings
down production smtp daemon and replace embeds ugly characters into
received (and passed) email messages
--
___
Python tracker rep
Illirgway added the comment:
Here is another patch for fixing this issue:
https://github.com/Illirgway/cpython/commit/12d7c59e0564c408a65dd782339f585ab6b14b34
Sorry for my bad english
--
nosy: +Illirgway
versions: +Python 3.3 -Python 3.5
Added file: http://bugs.python.org/file32861