You are not logged in.
Pages: 1
So I noticed this today
Summary: Please manually delete /etc/profile.d/locale.sh before updating. If . /etc/rc.conf fails in your login shell, please read the full announcement.
and deleted locale.sh . Now my system does not recognize greek characters. How do I recreate the deleted file? Simple locale generation does not mend this.
Thanks
ps $ locale gives
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=
and $ locale -a gives
C
POSIX
el_GR
el_GR.iso88597
el_GR.utf8
en_US
en_US.iso88591
en_US.utf8
greek
Last edited by kzlazy (2011-11-06 08:30:36)
Now there sits a man with an open mind. You can feel the draft from here...
Groucho Marx
Offline
Take a look at the file /etc/locale.conf and put something like;
LANG=el_GR.UTF-8 or what you used to.
Offline
Take a look at the file /etc/locale.conf and put something like;
LANG=el_GR.UTF-8 or what you used to.
just did that, but my problem persists
my /etc/locale.conf is
LANG=el_GR.UTF-8
el_GR.ISO-8859-7
LC_MESSAGES=C
Now there sits a man with an open mind. You can feel the draft from here...
Groucho Marx
Offline
Did you see this post ?;
http://bbs.archbang.org/viewtopic.php?id=1448
PS your locale command shouldn't read "POSIX", it should read el_GR-UTF-8 instead.
Last edited by swanson (2011-11-06 08:55:35)
Offline
Thank you swanson. The problem is that I did not follow the #4 tip
Tim, to be on the safe side, hold off deleting the file until you notice initscripts is in an update. Delete the file and then update.
and have already deleted the file...
Now there sits a man with an open mind. You can feel the draft from here...
Groucho Marx
Offline
Solved then?
Offline
Nope. Actually, I cannot access files/folders with greek character names. I can write greek though.
The locale command does not read "posix" anymore, after I changed the locale.conf
Last edited by kzlazy (2011-11-06 09:09:15)
Now there sits a man with an open mind. You can feel the draft from here...
Groucho Marx
Offline
kzlazy wrote:my /etc/locale.conf is
LANG=el_GR.UTF-8 el_GR.ISO-8859-7 LC_MESSAGES=C
The second line is bogus. Get rid of it.
I have
export LC_MESSAGES="C"
in my ~/.bashrc.
Offline
Thank you all. In fact I did remove the iso-8859 line. I replaced the deleted locale.sh from another installation and then removed the locale.conf, and was back where I started... A bit sloppy but it worked.
Now there sits a man with an open mind. You can feel the draft from here...
Groucho Marx
Offline
Pages: 1