Date: Thu, 25 May 2006 15:54:26 +0300 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: andreas Sotirakopoulos <menwn@yahoo.co.uk> Cc: freebsd-questions@freebsd.org Subject: Re: Greek Accents and Filenames Message-ID: <20060525125426.GA17883@gothmog.pc> In-Reply-To: <200605251450.55075.menwn@yahoo.co.uk> References: <200605251450.55075.menwn@yahoo.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-05-25 14:50, andreas Sotirakopoulos <menwn@yahoo.co.uk> wrote: > HI > I have a problem writing Greek accents in KDE. I am using KDE > 3.5 on freebsd 6.1 and although i can type Greek in all > applications i cannot put accents. Accents are placed by > hitting the ";" before the letter. When i do so though nothing > happen, in fact even the letter is not appearing on the screen. > I have tried typing export LC_CTYPE=el_GR on the console and > rebooting but then when i type locale i get: > > LANG= > LC_CTYPE="C" > LC_COLLATE="C" > LC_TIME="C" > LC_NUMERIC="C" > LC_MONETARY="C" > LC_MESSAGES="C" > LC_ALL= Your Greek locale setup is messed up. I don't know why you have all these, but if they are in your ~/.bashrc or something remove them all and use something like this: # Locale setup. export LANG="C" export LC_CTYPE="el_GR.ISO8859-7" export LC_COLLATE="el_GR.ISO8859-7" unset LC_ALL LC_MESSAGES LC_MONETARY LC_NUMERIC LC_TIME Your locale setup looks very close to what I've seen on Linux systems, but the set of LC_xxx environment variables you have now is _not_ going to work with FreeBSD. > Moreover although i can read greek on konqueror and opera i > cannot do so on Kwrite or i cannot read greek filenames on the > desktop, eventhough ei can give greek names on files whithout > accents ofcourse. Random problems with accents are very often a hint that points towards invalid/wrong locale setup. Fix your environment *before* you start X11, make sure that you don't override the fixed environment in your X11 configuration with something else, and you should be set to go :)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060525125426.GA17883>