[arch-general] Strange Problem with Greek characters
Hi everyone, Recently i afford a strange problem in writing/reading greek characters in my ArchBox. The problem started when i tried to change the default locales and add greek UTF-8 locales alongside to en_US.UTF-8. Since then I could both write and read greek in urxvt(and all terminal based programs like vim etc), kile and libreoffice. When i made the changes and run "locale-gen", I cannot read & write ,in any way, greek characters in urxvt(and any other terminal like xterm), and though i write greek in kile and libreoffice, I cannot write with tons. I've read wiki and talked to Archers from greek-community but no result. I've tried to change with-no-result /etc/locale.gen, /etc/locale.conf, /etc/vconsole.conf. # Output to locale -a command: ------------------------------ C POSIX el_GR el_GR.iso88597 el_GR.utf8 en_US en_US.iso88591 en_US.utf8 greek #Contents of /etc/locale.conf: ------------------------------ LANG="en_US.utf8" LC_COLLATE="C" LC_CTYPE=C LC_NUMERIC=C LC_TIME=C LC_COLLATE=C LC_MONETARY=C LC_MESSAGES=C LC_PAPER=C LC_NAME=C LC_ADDRESS=C LC_TELEPHONE=C LC_MEASUREMENT=C LC_IDENTIFICATION=C LC_ALL= #Contents of /etc/vconsole.conf: -------------------------------- KEYMAP="us" FONT="ter-116n" MAP="8859-7 # I contets of .Xdefaults (for urxvt configuration): ----------------------------------------------------- [1] http://animal.foss.ntua.gr/~fedjo/.Xdefaults I'm in a Mess ( :-/ ), any suggestions appreciated Thank you.... -- G.Mari ---------------------- Undergraduate [at] ece.ntua.gr
Did you run locale-gen? Also, looking at your locale.conf I suspect "C" (which is, according to cplusplus.com because I'm too lazy to google further, the minimal locale. It is a rather neutral locale which has the same settings across all systems and compilers, and therefore the exact results of a program using this locale are predictable. This is the locale used by default on all C programs.) is the wrong locale setting if you want to run your system with non-ascii characters. I only have one line LANG=*.UTF-8 which does for my umlauts. I think if you remove your *=C assignments out of locale.conf and your current environment, it'll just work. cheers! mar77i
On 02/22/2013 11:40 AM, Martti Kühne wrote:
Did you run locale-gen? Also, looking at your locale.conf I suspect "C" (which is, according to cplusplus.com because I'm too lazy to google further, the minimal locale. It is a rather neutral locale which has the same settings across all systems and compilers, and therefore the exact results of a program using this locale are predictable. This is the locale used by default on all C programs.) is the wrong locale setting if you want to run your system with non-ascii characters. I only have one line LANG=*.UTF-8 which does for my umlauts. I think if you remove your *=C assignments out of locale.conf and your current environment, it'll just work.
cheers! mar77i
Great thanks Martti ! My problem solved. I didn't know the exact use of *=C. My old locale.conf used them with no problem so did I. -- G.Mari ---------------------- Undergraduate [at] ece.ntua.gr
participants (2)
-
George Marinellis
-
Martti Kühne