[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080430194920.GD7501@1wt.eu>
Date: Wed, 30 Apr 2008 21:49:20 +0200
From: Willy Tarreau <w@....eu>
To: Samuel Thibault <samuel.thibault@...-lyon.org>,
linux-kernel@...r.kernel.org
Subject: Re: [2.6 patch] UTF-8 fixes in comments
On Wed, Apr 30, 2008 at 01:08:51AM +0100, Samuel Thibault wrote:
> Willy Tarreau wrote:
> > 3) if I enter Alt-196, I get a "Ä". Flushing the buffer shows that od
> > got two bytes: c3 84.
>
> Confirmed.
>
> Try init=/bin/stty -a, that will show
>
> -iutf8
>
> So there is little wonder that canonical mode does not work as expected.
>
> Try init=/bin/sh, from that shell run stty iutf8. Then things will work
> fine. The fix is thus just to make the VT's tty initial iutf8 setup
> follow vt.default_utf8.
Will try that on a more recent install. Mine's stty does not support
this option. Your analysis makes quite a lot of sense, and such a fix
would wipe part of my annoyances/anger with this recent change.
Thanks,
Willy
--
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