This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vajrasky
Recipients Arfrever, Eric.Hanchrow, apollo13, barry, r.david.murray, vajrasky
Date 2013-10-31.04:29:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Okay, so for this case, what are the correct outputs for the cte and the message?

        from email.charset import Charset
        from email.message import Message

        cs = Charset('utf-8')
        cs.body_encoding = None # disable base64
        msg = Message()
        msg.set_payload('АБВ', cs)

        msg.as_string() ==>
           cte -> 7bit
           message -> АБВ or \\u0410\\u0411\\u0412 or \xd0\x90\xd0\x91\xd0\x92?

        msg.as_bytes() ==>
           cte -> 8bit
           message -> \\u0410\\u0411\\u0412 or \xd0\x90\xd0\x91\xd0\x92?
Date User Action Args
2013-10-31 04:29:11vajraskysetrecipients: + vajrasky, barry, Arfrever, r.david.murray, apollo13, Eric.Hanchrow
2013-10-31 04:29:11vajraskysetmessageid: <>
2013-10-31 04:29:11vajraskylinkissue19063 messages
2013-10-31 04:29:10vajraskycreate