From owner-freebsd-questions@FreeBSD.ORG Thu May 25 12:52:41 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3CD3616A43E for ; Thu, 25 May 2006 12:52:41 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0644943D53 for ; Thu, 25 May 2006 12:52:34 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.pc (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.6/8.13.6/Debian-1) with ESMTP id k4PCqFPt019902 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 25 May 2006 15:52:17 +0300 Received: from gothmog.pc (gothmog [127.0.0.1]) by gothmog.pc (8.13.6/8.13.6) with ESMTP id k4PCsQea018072; Thu, 25 May 2006 15:54:26 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.pc (8.13.6/8.13.6/Submit) id k4PCsQI8018071; Thu, 25 May 2006 15:54:26 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Thu, 25 May 2006 15:54:26 +0300 From: Giorgos Keramidas To: andreas Sotirakopoulos Message-ID: <20060525125426.GA17883@gothmog.pc> References: <200605251450.55075.menwn@yahoo.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200605251450.55075.menwn@yahoo.co.uk> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-3.405, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.79, BAYES_00 -2.60, DNS_FROM_RFC_ABUSE 0.20) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: Re: Greek Accents and Filenames X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 May 2006 12:53:02 -0000 On 2006-05-25 14:50, andreas Sotirakopoulos 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 :)