From owner-freebsd-questions@FreeBSD.ORG Thu Jun 9 11:47:05 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F2171065670 for ; Thu, 9 Jun 2011 11:47:05 +0000 (UTC) (envelope-from bernt@bah.homeip.net) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) by mx1.freebsd.org (Postfix) with ESMTP id BC1558FC17 for ; Thu, 9 Jun 2011 11:47:04 +0000 (UTC) Received: from kw.homeip.net (c80-217-64-49.bredband.comhem.se [80.217.64.49]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id p59Bl1Kv021012; Thu, 9 Jun 2011 13:47:01 +0200 (CEST) (envelope-from bernt@bah.homeip.net) Message-ID: <4DF0B2B5.3050302@bah.homeip.net> Date: Thu, 09 Jun 2011 13:47:01 +0200 From: Bernt Hansson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; sv-SE; rv:1.9.2.17) Gecko/20110508 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: Polytropon References: <20110608195705.GA60747@freebsd.org> <4DF0AB82.5090109@bah.homeip.net> <20110609132149.77846282.freebsd@edvax.de> In-Reply-To: <20110609132149.77846282.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: problem with german umlauts and gtk apps (maybe unicode issue) 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, 09 Jun 2011 11:47:05 -0000 2011-06-09 13:21, Polytropon skrev: > On Thu, 09 Jun 2011 13:16:18 +0200, Bernt Hansson wrote: >> 2011-06-08 21:57, Alexander Best skrev: >>> hi there, >> >> Hallo >> >>> for me the output of `locale -a` looks like this: >>> >>> LANG=en_GB.ISO8859-15 >>> LC_CTYPE=de_DE.ISO8859-15 >>> LC_COLLATE="en_GB.ISO8859-15" >>> LC_TIME=de_DE.ISO8859-15 >>> LC_NUMERIC=de_DE.ISO8859-15 >>> LC_MONETARY=de_DE.ISO8859-15 >>> LC_MESSAGES="en_GB.ISO8859-15" >>> LC_ALL= >> >> What is the reason for setting that? > > The reason is to have finer control over certain > language aspects. For example, if one wants to have > collation and date specific settings for the german > language, but english program messages, LC_* can be > used to address things individually. LC_ALL sets _one_ > definition for all aspects, and LANG... I think LANG > will be used if LC_* aren't present... not fully sure. > > > >> I only set this in the .login_conf; >> >> me:\ >> :charset=iso-8859-1:\ >> :lang=sv_SE.ISO8859-1: >> >> And all is fine and dandy, except gqview only understands utf-8 > > I assume this does define LC_* / LANG variables? It defines LANG=sv_SE.ISO8859-1 no LC* > I know this setting is present in the system, but I > never really used login.conf. :-) login.conf is system wide. .login_conf is not. Example from xterm %cal Juni 2011 Sö Må Ti On To Fr Lö 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 åäö