"Submitter" display doesn't decode "encoded-word" syntax

Daniel Axtens dja at axtens.net
Sat Feb 24 13:47:35 AEDT 2018

Hi Bjorn,

Thanks for the report.

> It does not seem to decode the encoded-word [1] syntax used for email
> headers.  For example, the "Submitter" field shows this:
>   =?UTF-8?q?Christian=20K=C3=B6nig?=
> when it should show this:
>   Christian K├Ânig
> There was a similar issue in stgit, discussed at [2].

I tested this locally and it seems to be a Python 2 vs Python 3 issue: it
works in Python 3 and fails in Python 2. (OzLabs runs Python 2). Looking
at the thread you mentioned, that also seems to be what the stgit people

I'm not immediately sure what the best fix is, but I will continue
investigating and let you know how I go.


> Bjorn
> [1] https://en.wikipedia.org/wiki/MIME#Encoded-Word
> [2] https://lkml.kernel.org/r/CA+55aFxFp_rjSviLUEH-uZ1U=x_g-xiAFKoEQqOOxZQs4xV11A@mail.gmail.com
> _______________________________________________
> Patchwork mailing list
> Patchwork at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/patchwork

More information about the Patchwork mailing list