Re: [PATCH] Check charset in scripts/checkpatch.pl

From: David Woodhouse
Date: Fri Jul 06 2007 - 03:19:22 EST


On Fri, 2007-07-06 at 00:08 -0700, Andrew Morton wrote:
> On Fri, 06 Jul 2007 03:01:03 -0400 David Woodhouse <dwmw2@xxxxxxxxxxxxx> wrote:
>
> > Reject all legacy 8-bit character sets and allow only ASCII or UTF-8 to
> > be added to files or used in patch descriptions.
>
> What is the reasoning behind this?

The character set used by the kernel is UTF-8. So we should check for
people trying to add invalid stuff in other character sets. There's no
way for them to _label_ legacy character sets as such; it's not like
MIME email where we can use a different charset for every mail and
expect people to cope. We need to be consistent.

> > Signed-off-by: David Woodhouse <dwmw2@xxxxxxxxxxxxx>
> >
> > Signed-off-by: asd
>
> Jekyll & Hyde?

Oops. I prepended that to the output of 'git-diff' just to make
checkpatch happy. And then forgot about it when I inserted the text file
into my mailer.

--
dwmw2

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/