[issue8054] "as_string" method in email's mime objects encode text segmentedly

R. David Murray report at bugs.python.org
Thu Mar 4 13:53:59 CET 2010


R. David Murray <rdmurray at bitdance.com> added the comment:

Using python 2.6.4, your first example gives me an error:

UnicodeEncodeError: 'ascii' codec can't encode characters in position 11-18: ordinal not in range(128)

while your second example works, as you indicated.

So, at the moment I can not reproduce the bug.  Are you using something other than the python from python.org?

----------
components: +Library (Lib) -IO
nosy: +r.david.murray
priority:  -> normal
stage:  -> test needed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8054>
_______________________________________


More information about the Python-bugs-list mailing list