From mboxrd@z Thu Jan 1 00:00:00 1970 From: Harald Hoyer Subject: Re: [systemd-devel] [PATCH] vconsole: properly set terminal UTF-8 mode Date: Fri, 18 Feb 2011 09:39:26 +0100 Message-ID: <4D5E303E.4060505@redhat.com> References: <1288967715-3513-1-git-send-email-arvidjaar@gmail.com> <20101110224457.GE319@tango.0pointer.de> <4D5E2A2D.4060703@redhat.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4D5E2A2D.4060703-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> Sender: initramfs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Andrey Borzenkov Cc: Lennart Poettering , Kay Sievers , systemd-devel-PD4FTy7X32lNgt0PjOBp9y5qC8QIuHrW@public.gmane.org, initramfs Am 18.02.2011 09:13, schrieb Harald Hoyer: > Am 17.02.2011 19:52, schrieb Andrey Borzenkov: >> As it stands now, dracut 008 in generic (not hostonly) mode explicitly >> disables UTF-8 because UNICODE is not set: >> >> modules.d/10i18n/console_init: >> >> set_keyboard() { >> local param >> >> [ "${UNICODE}" = 1 ] && param=-u || param=-a >> kbd_mode ${param} >> } >> >> The problem is, you do not know whether UNICODE is not set because >> system is configured for non-UNICODE or because we do not know yet. > > You are right... UNICODE should default to 1 in dracut. Will change. changed to vconsole.font.unicode=1 alias UNICODE=1 and fixed the hostonly mode legacy configuration file parsing.