1825770 Members
1994 Online
109687 Solutions
New Discussion

how to set locale to C

 
SOLVED
Go to solution
file system
Frequent Advisor

how to set locale to C

can you say that converting locale from "ko_KR.eucKR" to "C" permanently?

First
I editted /etc/dt/config/Xconfig
Dtlogin*language: C
and restart dtlogin
but locale is
LANG=ko_KR.eucKR
LC_CTYPE="ko_KR.eucKR"
LC_COLLATE="ko_KR.eucKR"
LC_MONETARY="ko_KR.eucKR"
LC_NUMERIC="ko_KR.eucKR"
LC_TIME="ko_KR.eucKR"
LC_MESSAGES="ko_KR.eu

2 REPLIES 2
Peter Nikitka
Honored Contributor
Solution

Re: how to set locale to C

Hi,

I suspect setting the login language covers only a part of a locale definition.
To preset all LOCALE-stuff, you add this line:
Dtlogin*environment: LANG=C

I use to put additional stuff like this into /etc/profile or /etc/profile.local:

- /etc/profile
[ -s /etc/profile.local ] && /etc/profile.local

- /etc/profile.local
...
unset LC_ALL
export LC_CTYPE=en_US.ISO8859-1
...

mfG Peter
The Universe is a pretty big place, it's bigger than anything anyone has ever dreamed of before. So if it's just us, seems like an awful waste of space, right? Jodie Foster in "Contact"
file system
Frequent Advisor

Re: how to set locale to C

Thank you for your help.
I get your hints so,
#unset LC_ALL
#export LC_CTYPE=C

to maintain locale permanently
I edit $HOME/.profile line containing 'export LC_ALL=ko_KR.eucKR' to 'export LC_ALL=C'

Thank you again and Have a nice day ^^