On 07/19/2017 05:53 PM, Linus Torvalds wrote:
> On Wed, Jul 19, 2017 at 5:35 PM, Linus Torvalds
> <torva...@linux-foundation.org> wrote:
>>
>> Your mailer is crap, and destroys utf-8 characters. In particular:
>>
>>     -M:     Michał Mirosław <mirq-li...@rere.qmqm.pl>
> 
> Using pseudo-MIME-encoding, that was actually (before my cut-and-paste
> mangled it even more):
> 
>     Micha=c3=85=c2=82 Miros=c3=85=c2=82aw
> 
>> should be
>>
>>     -M:      Michał Mirosław <mirq-li...@rere.qmqm.pl>
> 
> And the correct utf-8 is
> 
>     Micha=C5=82 Miros=C5=82aw
> 
> and it *looks* like what happened is that something thought the input
> was Latin1, and converted the Latin1 to UTF-8.
> 
> So the utf-8 character 'ł' (two bytes: =C5=82) was seen as two Latin1
> character bytes: =c5 and =82.
> 
> And then each of those were converted mindlessly to utf-8, so the 'c5'
> character became '=C3=85' and the '82' character became '=c2=82'.
> 
> So you have something that believes that a source file was latin1.
> 
> May I suggest just making absolutely *everything* on your system use a
> utf-8 locale?
> 
> Because in this day and age, anything but utf-8 is just woefully
> broken crud. "Just say no".

Thanks for the diagnosis.  Will do.


-- 
~Randy

Reply via email to