On Sun, Jun 10, 2012 at 8:37 PM, Tom Gundersen <t...@jklm.no> wrote:
> Rather than assuming the console is in utf-8 mode if nothing else is
> specified, be a bit more robust and enable it explicitly.
>
> This fixes a regression compared with Arch's initscripts when not
> using a framebuffer as the old VGA console would not be in utf-8
> mode by default.
>
> Furthermore, this would allow vconsole-setup to be used after boot
> to change the vconsole into utf-8 mode in case it has been set to
> non-utf-8 mode for whatever reason. I.e, the following would leave
> the console in utf-8 mode as expected:
>
>  # export LANG=en_US.ISO-8859-1
>  # /usr/lib/systemd/systemd-vconsole-setup
>  # export LANG=en_US.UTF-8
>  # /usr/lib/systemd/systemd-vconsole-setup

Hmm, what setup exactly would be fixed by this?

Utf8 mode is always enabled by default in the kernel. so we should be
fine by only disabling if we want to support legacy setups.

What setup do we want to support here that disables this first from
userspace or the kernel command line, and we later want to enable it
again? If vt.default_utf8=0 is given on the command line, we should
probably not overwrite it here.

Kay
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to