Where do I initialise the LANG and LC_ALL sys variables under Ubuntu 8.10?

Posted by Thierry Lam on Super User See other posts from Super User or by Thierry Lam
Published on 2010-05-06T18:54:17Z Indexed on 2010/05/06 18:59 UTC
Read the original article Hit count: 495

Filed under:

Under Ubuntu 8.10, bash shell, the LANG and LC_ALL variables are not set:

user@machine1:~$ locale
LANG=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

Where should I set those variables so that they point to en_US.UTF-8. Once that is done, do I need to restart anything?

© Super User or respective owner

Related posts about ubuntu