[systemd-devel] Unicode support in console after boot

Mantas Mikulėnas grawity at gmail.com
Mon Oct 13 00:49:00 PDT 2014


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

-- 
Mantas Mikulėnas <grawity at gmail.com>


More information about the systemd-devel mailing list