Reliably parsing mail on Py2 and Py3
dja at axtens.net
Thu Sep 22 18:00:12 AEST 2016
I also realised while working with this patch that non-binary open is
also affected by the locale. This affects my spiel a bit, but it doesn't
affect the correctness of the patches: we still should deal with the
bytes explictly, rather than relying on server locale.
Daniel Axtens <dja at axtens.net> writes:
> Hi Johannes,
>>> (Ideally we'd like a patch with UTF-8 in the body of the mail,
>>> but I can't find one yet.)
>> might do the trick?
> Brilliant, thanks heaps.
> I'll include that in the pull request which I'll send out tomorrow.
More information about the Patchwork