Where is the $LANG variable defined?

Dave Lester dlester at davenet.org
Sat Nov 6 15:14:35 UTC 2004


Dave Lester said:
> Hello all,
>
> I have two machines running FC2.  One I upgraded from Redhat 9 --> FC1 -->
> FC2 and the $LANG environmental variable is set to
>
> [root at pigpen root]# echo $LANG
> en_US
>
> On the other machine, I did a fresh install of  FC2 and  the $LANG
> variable on that is set to:
>
> [root at linus ~]# echo $LANG
> en_US.UTF-8
>
> On the latter machine, whenever I do a man or look at other text files in
> vi,  I get some characters that are screwed up. That's why I'm assuming
> that it's the $LANG variable that's doing it.
>
> Any guidance on fixing this is appreciated.
>
> Thanks
>
> Dave Lester
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list

Kludge fix for this

in my .bash_profile I set

export $LANG="en_US"

and this seemed to fix the problem.  However, I would still like to find
out where this is set globally because I know other users on this machine
are going to have a problem with this.  If anyone knows.....

Dave Lester

-- 
=======================
Dave Lester
dlester at davenet.org
http://www.davenet.org
=======================




More information about the users mailing list