Re: [PATCH] proc: fixup (c) sign

From: Andrew Morton
Date: Wed Apr 11 2018 - 19:17:55 EST


On Wed, 11 Apr 2018 15:41:26 -0700 Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

> On Wed, Apr 11, 2018 at 1:24 PM, Alexey Dobriyan <adobriyan@xxxxxxxxx> wrote:
> >
> > It got sent from here as iso8859-1.
>
> It's probably a good idea to just move away from Latin1 entirely, and
> encourage people to just use utf-8.

I had "set ttycharset=utf8" in .mailrc and when presented with Alexey's
patch heirloom-mailx said "Failed to create encoded message: Invalid or
incomplete multibyte or wide character".

After removing that line from .mailrc, hairloom-mailx did the offending
corruption.

Adding "set ttycharset=iso8859-1" to .mailrc permits Alexey's patch to
go through as-is. But I assume it has broken something else :(

> But yes, Andrew's scripts clearly do a horrible job at looking at
> email encoding, and that really should be fixed.
>
> I worry less about silly copyright signs than about peoples actual
> _names_, but we've certainly seen problems there too.

That's all fixed, afaik.