[systemd-devel] [PATCH] vconsole: properly set terminal UTF-8 mode

Harald Hoyer harald at redhat.com
Fri Feb 18 00:13:33 PST 2011


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.


More information about the systemd-devel mailing list