Re: [PATCH] Input: elantech - Fix V4 report decoding for module with middle key
From: Linus Torvalds
Date: Mon Jul 02 2018 - 12:31:30 EST
On Mon, Jul 2, 2018 at 5:13 AM Kalle Valo <kvalo@xxxxxxxxxxxxxx> 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@xxxxxxxxxx>
- 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@xxxxxxxxx>
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@xxxxxxxxxx>
anyway, it does look like a newer version of patchwork will fix this.
Linus