From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MPiwm-0005X2-32 for garchives@archives.gentoo.org; Sat, 11 Jul 2009 20:13:24 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5C6ABE0278; Sat, 11 Jul 2009 20:13:22 +0000 (UTC) Received: from smtpout.karoo.kcom.com (smtpout.karoo.kcom.com [212.50.160.34]) by pigeon.gentoo.org (Postfix) with ESMTP id 18AC2E0278 for ; Sat, 11 Jul 2009 20:13:21 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.42,384,1243810800"; d="scan'208";a="110489312" Received: from unknown (HELO compaq.stroller.uk.eu.org) ([213.152.39.90]) by smtpout.karoo.kcom.com with ESMTP; 11 Jul 2009 21:13:20 +0100 Received: from [192.168.1.71] (unknown [192.168.1.71]) by compaq.stroller.uk.eu.org (Postfix) with ESMTP id 451F0137CA0 for ; Sat, 11 Jul 2009 21:13:17 +0100 (BST) Message-Id: <7C081753-E829-47F7-92CA-AC961B33FE7D@stellar.eclipse.co.uk> From: Stroller To: gentoo-user@lists.gentoo.org In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 (Apple Message framework v935.3) Subject: Re: [gentoo-user] Re: LC_ locale settings for UK / GB. Date: Sat, 11 Jul 2009 21:13:14 +0100 References: <6DF38B2C-68C3-4B3A-8AC2-9F4E1990218A@stellar.eclipse.co.uk> X-Mailer: Apple Mail (2.935.3) X-Archives-Salt: 6ece6644-f9c1-4927-9a7c-8d66a81cfaa2 X-Archives-Hash: d9a23dd65fc8a2b6e843bb0174517091 On 11 Jul 2009, at 19:35, walt wrote: > On 07/10/2009 08:49 PM, ABCD wrote: >> ... >> Because I'm seeing some strange things in this thread, let me >> elucidate >> as to what the various LANG/LC_* variables do: >> >> LANG >> sets the default for LC_*, if unset, defaults to "C" >> >> LC_CTYPE [charset] >> LC_NUMERIC [number format] >> LC_TIME [time format] >> LC_COLLATE [sort order] >> LC_MONETARY [money format] >> LC_MESSAGES [message language] >> LC_PAPER [paper size] >> LC_NAME [given/family name format] >> LC_ADDRESS [mailing address format] >> LC_TELEPHONE [country code, etc.] >> LC_MEASUREMENT [US customary, SI, etc.] >> LC_IDENTIFICATION [???] >> Used as their names suggest, for the various things that can be >> done with locales. Default to $LANG, if $LANG is unset, defaults >> to "C". >> >> LC_ALL >> Override for LC_*. If LC_ALL is set, then LC_* is ignored, and >> the >> value of LC_ALL is used for everything. *Do not* set this in >> env.d >> unless you know exactly what you are doing. (Setting LC_ALL=C to >> disable all locale settings, for instance). > > Thanks for the clarification. The only reason I can think of for > *not* > setting LC_ALL is that some users on a multi-user system might want to > use a different language. Am I missing something else important? I'm reading this as to *only* set LANG instead. I'm assuming there are occasions upon which a single program or package (at installation time, or perhaps in a run script) may wish to over-ride only some of the LC_* variables. IE: On 11 Jul 2009, at 00:02, Peter Ruskin wrote: > This is what my 02locale file says: > LANG="en_GB" > LC_COLLATE="POSIX" > LC_CTYPE="POSIX" > LC_ALL="en_GB" The last 3 lines should be removed? If I do so: $ cat /etc/env.d/02locale LANG="en_GB" $ k3b gives no errors - in fact I get a "No problems found in system configuration" pop-up instead - on startup. Stroller.