Re: [PATCH] Input: elantech - Fix V4 report decoding for module with middle key

Linus Torvalds
2018-07-02T16:31:28Z

On Mon, Jul 2, 2018 at 5:13 AM Kalle Valo <kvalo@codeaurora.org> wrote:
>
> FWIW I use patchwork.kernel.org and I don't have any issues with UTF-8
> characters in the From header. For example, here's one patch which I
> recently applied:
>
> https://git.kernel.org/linus/88001968245c

Well, that one actually has at least two reasons why it might work well:

- Rafał sends his patches with an explicit "From:" line in the body
of the email itself (probably because he has had problems with email
headers in the past). So his body itself has

From: Rafał Miłecki <rafal@milecki.pl>

- Also, even ignoring that, he actually uses utf-8 in the headers
too, so his "From" header line looks like

From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>

so it is already in UTF-8, it just is rfc2047-encoded.

I suspect it's that first reason that patchwork.kernel.org gets it
right, but it *migth* be the fact that the problematic email is using
the old 'big5' encoding:

From: =?big5?B?ufmxUrph?= <kt.liao@emc.com.tw>

anyway, it does look like a newer version of patchwork will fix this.

Linus