setting an tty locale to utf-8

Mikko Paananen mikko at ipi.fi
Wed Feb 11 21:44:27 UTC 2004


ti, 2004-02-10 kello 19:03, adrianorg kirjoitti:

> But, I have modified syslogd.conf to write log messages to tty12, and
> those messages don't shows correctly some "decorated" characteres, like
> the combinations of vowels and tilde, acute, umlauth, cedilla, etc.

Try:
echo -n -e '\033%G' > /dev/tty12

That escape code sets virtual console to utf-8 mode.





More information about the users mailing list