Re: [Patch] Support UTF-8 scripts
From: Pete Zaitcev
Date: Tue Aug 16 2005 - 15:17:50 EST
On Mon, 15 Aug 2005 00:55:54 +0100, Alan Cox <alan@xxxxxxxxxxxxxxxxxxx> wrote:
> On Sul, 2005-08-14 at 15:59 -0400, Lee Revell wrote:
> > I know the alternatives are available. That doesn't make it any less
> > idiotic to use non ASCII characters as operators. I think it's a very
> > slippery slope. We write code in ASCII, dammit.
>
> Its a trivial patch and there is a lot to be said for UTF-8 scripts. As
> to writing code in ascii, the kernel regularly has outbreaks of either
> UTF-8 or ISO-8859-* especially in the docs directory. Standardising
> these on UTF-8 would be helpful.
>
> Yes the kernel code is C so ASCII except for the odd abuser of the Â
> symbol.
We write kernel code in ASCII because of patches in e-mail. When a patch
is saved (often by a script), it is divorced of the encoding in which
e-mail was done. Forwarding of patches then causes them to fail to apply.
Everything else can be worked around.
In my experience, the most common case of such patch rejects has to do
with a European using a non-UTF-8 encoding for his name, rather than
with the copyright symbol.
-- Pete
-
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/