On 3/19/07, John Oliver <[EMAIL PROTECTED]> wrote:
AFAIK, LANG never changes. It's always en_US.UTF-8 I don't see how
more-ing a given file could somehow "know" the "correct" character set
and change LANG for it, and then change it back.
As for LOCALE... I noticed that when I ssh into her machine and su to
her account and run locale, I get
[EMAIL PROTECTED] ~]$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
In a terminal on that box (under X) everything is "C"
Where are those values set?
For what it's worth, they are set on a system-wide basis in /etc/sysconfig/i18n
This can be changed on an individual basis by $HOME/.bash_profile or
$HOME/.bashrc
Above answers assume RedHat-like OS and Bash.
carl
--
carl lowenstein marine physical lab u.c. san diego
[EMAIL PROTECTED]
--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list