Author pitrou
Recipients barry, durin42, gward, ncoghlan, pitrou, r.david.murray, terry.reedy
Date 2013-03-18.22:02:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1363644151.23.0.924722548589.issue17445@psf.upfronthosting.co.za>
In-reply-to
Content
> Necessary when comparing files with unknown or inconsistent encodings: 
> there's no way to convert everything to Unicode, so just leave it all
> bytes.

You could simply use the surrogateescape error handler.
History
Date User Action Args
2013-03-18 22:02:31pitrousetrecipients: + pitrou, barry, gward, terry.reedy, ncoghlan, durin42, r.david.murray
2013-03-18 22:02:31pitrousetmessageid: <1363644151.23.0.924722548589.issue17445@psf.upfronthosting.co.za>
2013-03-18 22:02:31pitroulinkissue17445 messages
2013-03-18 22:02:31pitroucreate