[New-bugs-announce] [issue20206] email quoted-printable encoding issue
Andras Timar
report at bugs.python.org
Thu Jan 9 15:21:58 CET 2014
New submission from Andras Timar:
Try this sample script:
# coding=utf-8
import email
import email.charset
import email.message
c = email.charset.Charset('utf-8')
c.body_encoding = email.charset.QP
m = email.message.Message()
m.set_payload("This is a Greek letter upsilon: υ", c)
print(m.as_string())
Actual result: "This is a Greek letter upsilon: =CF"
Expected result: "This is a Greek letter upsilon: =CF=85"
----------
components: Library (Lib)
messages: 207737
nosy: timar
priority: normal
severity: normal
status: open
title: email quoted-printable encoding issue
type: behavior
versions: Python 3.3
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20206>
_______________________________________
More information about the New-bugs-announce
mailing list