[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070512211144.GO7984@stusta.de>
Date: Sat, 12 May 2007 23:11:44 +0200
From: Adrian Bunk <bunk@...sta.de>
To: Pavel Machek <pavel@....cz>
Cc: David Woodhouse <dwmw2@...radead.org>,
"Maciej W. Rozycki" <macro@...ux-mips.org>,
Satyam Sharma <satyam.sharma@...il.com>,
Anton Vorontsov <cbou@...l.ru>, Greg KH <gregkh@...e.de>,
linux-kernel@...r.kernel.org, kernel-discuss@...dhelds.org,
Andrew Morton <akpm@...l.org>
Subject: Re: [PATCH 8/8] One Laptop Per Child power/battery driver
On Fri, May 11, 2007 at 01:21:16PM +0000, Pavel Machek wrote:
> Hi!
>
> > > > > And how about serial terminals?
> > > >
> > > > It works fine over serial terminals. Why wouldn't it?
> > >
> > > He probably means serial terminals... like physical vt100. I used to
> > > have one (vt302 compatible or something). Most emulators still
> > > emulate vt100, and yes, vt100 predates utf-8.
> >
> > I have a serial terminal which can only do lower case (well, actually
> > capitals but it's all mapped to lower case since that's more useful).
> >
> > When I write code on it, I can't do capital letters. But do I try to
> > _force_ you to use only capitals because of my limited terminal?
>
> If I wrote int j, J; in my code, you'd have valid case wanting me to
> fix it. And I simply want you to fix useless uses of utf-8. And evil
> uses utf8, like int voltage; /* ??V */. I do not know what is so hard
> to understand.
>
> You are intentionally making code hard to read. Stop trying to merge
> that crap.
It was °C, and that's IMHO better readable than some kind of "degrees C".
Only using 7bit ASCII might have been a good advice in the last
millenium. But in the current millenium, most environments handle UTF-8
just fine.
And we are only talking about documentation and comments - IOW, things
not visible for someone running a kernel. Code (including printk's) must
stay 7bit ASCII.
In the worst case, if you managed to find a not UTF-8 capable
environment for viewing the kernel sources, the few characters that are
not 7bit ASCII are displayed incorrectly, and you'll have to guess which
character someone might place in front of a "C" describing something
named wBAT_TEMP (you will likely guess it correctly).
And it's nothing new, comments containing non 7bit ASCII characters are
already present in 10 year old kernels (often, but not limited to,
developer's names).
> Pavel
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists