[systemd-devel] [PATCH] vconsole: properly set terminal UTF-8 mode
Harald Hoyer
harald at redhat.com
Fri Feb 18 00:39:26 PST 2011
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.
More information about the systemd-devel
mailing list