Re: [2.6 patch] UTF-8 fixes in comments

From: Willy Tarreau
Date: Wed Apr 30 2008 - 15:47:13 EST


On Wed, Apr 30, 2008 at 10:38:32AM +0100, Samuel Thibault wrote:
> Chris Adams wrote:
> > Once upon a time, Samuel Thibault <samuel.thibault@xxxxxxxxxxxx> said:
> > >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.
> >
> > You may also need to select a UTF-8 locale (e.g. LANG="en_US.UTF-8") for
> > programs like bash to handle this correctly.
>
> Yes of course, but here the purpose was _not_ programs like bash, but
> the canonical mode (i.e. programs like cat etc.), for which the LANG
> variable has no effect, only iutf8 has.

exactly, thanks for understanding my problem Samuel :-)

Willy
--
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/