[issue4661] email.parser: impossible to read messages encoded in a different encoding
Antoine Pitrou
report at bugs.python.org
Fri Oct 8 12:19:39 CEST 2010
Antoine Pitrou <pitrou at free.fr> added the comment:
There are a couple of things I don't understand:
+* :class:`~email.generator.Generator` will convert message bodies that
+ have a :mailheader:`ContentTransferEncoding` of 8bit and a known charset to
+ instead have a :mailheader:`CotnentTransferEncoding` of ``QuotedPrintable``.
Why so?
+* All operations are on unicode strings. Text inputs must be strings,
+ text outputs are strings.
This is a rather strange statement given that you are adding bytes-consuming and bytes-producing functions.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4661>
_______________________________________
More information about the Python-bugs-list
mailing list