Author r.david.murray
Recipients Tom.Christie, georg.brandl, r.david.murray
Date 2014-10-30.19:49:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1414698598.45.0.948496868887.issue22767@psf.upfronthosting.co.za>
In-reply-to
Content
No, it is introducing the unicode that is the problem.  Your first example is entirely binary.  It is only when you *mix* binary and unicode that you have encoding problems (because python doesn't know the encoding of the binary data...well, more precisely it doesn't have one).

This confusion is a large part of why python3 exists :)
History
Date User Action Args
2014-10-30 19:49:58r.david.murraysetrecipients: + r.david.murray, georg.brandl, Tom.Christie
2014-10-30 19:49:58r.david.murraysetmessageid: <1414698598.45.0.948496868887.issue22767@psf.upfronthosting.co.za>
2014-10-30 19:49:58r.david.murraylinkissue22767 messages
2014-10-30 19:49:58r.david.murraycreate