Re: [PATCH] vt: Expose system-wide UTF-8 default setting via sysfs

From: Paul LeoNerd Evans
Date: Tue Apr 03 2007 - 12:36:14 EST


On Tue, Apr 03, 2007 at 04:20:52PM +0000, Pavel Machek wrote:
> HPA is right... this should be fixed in userland. Reset should reset a
> console, and if you want utf-8, do \ec\ewhatever to get it.

As I've already said elsewhere, does anything say that "reset" means
that UTF-8 is turned off, or merely reset back to some known state? I
personally would consider that UTF-8 being on is the default, and if
something wants it off it should ask specifically..

Consider any other terminal emulator, such as those running on X11; when
they're reset, they know to keep UTF-8 mode turned on, because it said
so in their config, or in the locale. Kernel doesn't really have nice
access to the LANG environment variable, but we can give it something
similar; namely, via a module parameter.

--
Paul "LeoNerd" Evans

leonerd@xxxxxxxxxxxxxx
ICQ# 4135350 | Registered Linux# 179460
http://www.leonerd.org.uk/

Attachment: signature.asc
Description: Digital signature