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 1MPTbV-0000EP-Q4 for garchives@archives.gentoo.org; Sat, 11 Jul 2009 03:50:28 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1A5F7E0444; Sat, 11 Jul 2009 03:50:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id CF170E0444 for ; Sat, 11 Jul 2009 03:50:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 76EAE66A95 for ; Sat, 11 Jul 2009 03:50:23 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -3.523 X-Spam-Level: X-Spam-Status: No, score=-3.523 required=5.5 tests=[AWL=0.076, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id J69tAIB9PD4a for ; Sat, 11 Jul 2009 03:50:17 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 5A2C866A61 for ; Sat, 11 Jul 2009 03:50:17 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MPTbI-0007xL-5l for gentoo-user@gentoo.org; Sat, 11 Jul 2009 03:50:12 +0000 Received: from pool-173-71-218-206.clppva.fios.verizon.net ([173.71.218.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 Jul 2009 03:50:12 +0000 Received: from en.ABCD by pool-173-71-218-206.clppva.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 11 Jul 2009 03:50:12 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: ABCD Subject: [gentoo-user] Re: LC_ locale settings for UK / GB. Followup-To: gmane.linux.gentoo.user Date: Fri, 10 Jul 2009 23:49:59 -0400 Message-ID: References: <6DF38B2C-68C3-4B3A-8AC2-9F4E1990218A@stellar.eclipse.co.uk> 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 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-71-218-206.clppva.fios.verizon.net User-Agent: KNode/4.4 pre Sender: news X-Archives-Salt: 851ea5f8-f678-4de6-bb31-4d84469dd2e7 X-Archives-Hash: 53f1660f63f543de9dd999fb42f7dad8 Stroller wrote: > Hi there, > > I want to try burning a DVD using k3b and when it starts up it > complains: > > System locale charset is ANSI_X3.4-1968 > Your system's locale charset (i.e. the charset used to encode > filenames) is set to ANSI_X3.4-1968. It is highly unlikely that this > has been done intentionally. Most likely the locale is not set at > all. > An invalid setting will result in problems when creating data > projects. > Solution: To properly set the locale charset make sure the LC_* > environment variables are set. Normally the distribution setup tools > take care of this. > > > Googling "LC_* environment variables" turns up this doc: > http://www.gentoo.org/doc/en/guide-localization.xml#doc_chap3 > > I assume this document is correct & up to date? > (and is not superseded by the LINGUAS="en_GB en" that I have in > make.conf) > > This doc refers to a /etc/env.d/02locale file - I assume I have to > create that by hand? The file does not exist at present. I guess this > is the kind of thing I'd kinda expect you to create by symlinking to / > usr/share/linguas/England or something. > > Finally, does anyone have the correct LANG and LC_COLLATE settings for > the United Kingdom, please? I assume that again something starting > "en_GB" is used. > > Do I need to set ALL LC_* variables (the guide lists 9 of them) or > just those 2? > > This server is headless, so I'm using X11 over ssh - kcontrol's left- > hand pane is blank. > > Thanks in advance for any help, > > Stroller. 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). I hope this helps resolve any confusion. If you want to see what the current values of each of these variables is, including overrides, run `locale`. -- ABCD