[systemd-devel] Unicode support in console after boot

Jan Synacek jsynacek at redhat.com
Mon Oct 13 01:48:03 PDT 2014


Mantas Mikulėnas <grawity at gmail.com> writes:
> On Mon, Oct 13, 2014 at 10:36 AM, Jan Synacek <jsynacek at redhat.com> wrote:
>> Hello,
>>
>> currently, unicode characters are not correctly displayed in the
>> console. After login, when I run /usr/bin/unicode_start, unicode works
>> fine. I tried to create a service file that runs this script, linking
>> tty to stdout and stderr, but that didn't work. Is there a way how to
>> turn on unicode support in console after boot using a service file? Or
>> any other type of unit? Or is this something that has to be patched in
>> the source (logind perhaps?)?
>
> This is already done by systemd-vconsole-setup [1], but only if the
> system locale is a UTF-8 one [2].
>
> [1]: http://cgit.freedesktop.org/systemd/systemd/tree/src/vconsole/vconsole-setup.c?h=a158dbf156ac#n70
> [2]: http://cgit.freedesktop.org/systemd/systemd/tree/src/shared/util.c?h=a158dbf156ac#n5547

Thank you. There seems to be something wrong with the
systemd-vconsole-setup.service, it doesn't seem to be run correctly at
boot. If restarted, I get the unicode support.

-- 
Jan Synacek
Software Engineer, Red Hat


More information about the systemd-devel mailing list