SDB:Change system wide character set

Jump to: navigation, search


To change the system wide character set from UTF-8 to ISO-8859-15 you should edit the following files:

vi /etc/sysconfig/language

RC_LANG="de_DE@euro"
vi /etc/bash.bashrc.local

export LANG=de_DE@euro
export LC_MESSAGES=POSIX
export LC_CTYPE=de_DE@euro

This works after next login.

vi /etc/sysconfig/console

CONSOLE_ENCODING="ISO-8859-15"

The new console character set works after system reboot.

Notes

  • You may need to create /etc/bash.bashrc.local
  • This wiki uses vi. You may wish to use a different editor.
  • The above sets the default language to German, for English

replace the three occurrences of de_DE@euro with en_IE@euro