You are not logged in.
Pages: 1
I seem to have a problem setting up my locale. Can anyone spot what I'm doing wrong, please?
This is what I get after running the 'locale' and 'locale -a' commands:
[sko@OGC ~]$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=en_EN.utf8
LC_CTYPE="en_US.iso8859"
LC_NUMERIC="en_US.iso8859"
LC_TIME="en_US.iso8859"
LC_COLLATE="en_US.iso8859"
LC_MONETARY="en_US.iso8859"
LC_MESSAGES="en_US.iso8859"
LC_PAPER="en_US.iso8859"
LC_NAME="en_US.iso8859"
LC_ADDRESS="en_US.iso8859"
LC_TELEPHONE="en_US.iso8859"
LC_MEASUREMENT="en_US.iso8859"
LC_IDENTIFICATION="en_US.iso8859"
LC_ALL=en_US.iso8859
[sko@OGC ~]$ locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX
en_US
en_US.iso88591
en_US.utf8This is the relevent part I have in my /etc/rc.conf file:
LOCALE="en_US.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="no"
TIMEZONE="America/Chicago"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"This is all I have in my /etc/locale.gen file, and I have run locale-gen afterwards:
en_US.UTF-8 UTF-8
en_US ISO-8859-1Any ideas are very helpful!
Last edited by Skofo (2008-09-14 13:55:17)
Offline
Have you ensured that you have no local settings in your .bash_profile or .bashrc? Someone had a similar problem in here from that not too long ago.
Offline
First, decide whether you want to use ISO8859-2 or UTF-8 encoding. I recomend former.
Then change LOCALE variable in /etc/rc.conf to en_US if you use ISO-8859-2. For UTF-8 no change is needed.
And remove or comment any lines in .bashrc and .profile setting variables LANG, LC_*.
Offline
Try `export LC_ALL=en_US.utf8` and then run `locale` again in the same terminal. If that solves it, then a reboot should solve it for the whole system.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Everything you guys said fixed it. ![]()
Thanks so much!
Offline
Pages: 1