Confusion with locales: keep english command output
In chapter 7.8 of LFS 6.8 I would like to set the Swiss German charmap, so I use
de_CH.ISO-8859-1 (according to the explanations there). But this also changes the text output of some commands to German (and results in some characters like äöü not being displayed correctly). How can I have the CH charmap while keeping the text output in English? |
Hi,
You probably used: export LANG=de_CH.ISO-8859-1 which sets all LC_* types to de_CH.ISO-8859-1 (execute locale in a terminal to see this yourself. To my knowledge LC_MESSAGES is used for command output. You can set this one separately to some other value (POSIX should be fine). The /etc/profile entry mentioned in chapter 7.8 would then look like this (order is important): Code:
export LANG=de_CH.ISO-8859-1 |
That's it.
Thanks! |
You're welcome :)
|
All times are GMT -5. The time now is 03:56 AM. |