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 1QKAnQ-0005vQ-BY for garchives@archives.gentoo.org; Wed, 11 May 2011 14:53:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C20EE0529; Wed, 11 May 2011 14:52:30 +0000 (UTC) Received: from basement.kutulu.org (187.250.102.97.cfl.res.rr.com [97.102.250.187]) by pigeon.gentoo.org (Postfix) with ESMTP id 5C59CE0529 for ; Wed, 11 May 2011 14:52:30 +0000 (UTC) Received: from localhost (basement.kutulu.org [127.0.0.1]) by basement.kutulu.org (Postfix) with ESMTP id 479FA7D8025 for ; Wed, 11 May 2011 06:52:34 -0400 (EDT) X-Virus-Scanned: amavisd-new at kutulu.org Received: from basement.kutulu.org ([127.0.0.1]) by localhost (basement.kutulu.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aBHoc5yiW9nz for ; Wed, 11 May 2011 06:52:33 -0400 (EDT) Received: from [192.168.100.84] (173.221.47.98.nw.nuvox.net [173.221.47.98]) by basement.kutulu.org (Postfix) with ESMTPSA id BBB6B7D8024 for ; Wed, 11 May 2011 06:52:33 -0400 (EDT) Message-ID: <4DCAA2AC.5030800@kutulu.org> Date: Wed, 11 May 2011 10:52:28 -0400 From: Mike Edenfield User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10 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 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: How's the openrc update going for everyone? References: <4DC9B435.9010308@gmail.com> <4DC9BF0A.6040800@wonkology.org> <4DC9C5F0.4000303@gmail.com> <20110511003835.71388717@zaphod.digimed.co.uk> <4DC9CF35.7010503@gmail.com> <4DCA821F.8050904@gmail.com> <4DCA91D1.50505@gmail.com> In-Reply-To: <4DCA91D1.50505@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: 60ad76fca8ac013c8174b0a55e19d244 On 5/11/2011 9:40 AM, Dale wrote: > Nikos Chantziaras wrote: >> On 05/11/2011 03:33 PM, Dale wrote: >>> root@fireball / # cat /etc/make.conf | grep utf >>> LC_ALL="en_US.utf8" >>> root@fireball / # Putting your LC_* values in make.conf means they're only going to apply when you are building things, and not in everyday use. If it's working, you either haven't had to do anything where UTF-8 and ISO-8859-1 would produce different results, or you have LC_* or LANG defined somewhere else :) >> Two issues. First, LC_ALL does not belong in make.conf. It belongs >> in /etc/env.d/02locale. Second, "en_US.utf8" is not correct. It's >> "en_US.UTF-8". :-) For whatever reason, the generated locale names (as visible by locale(1) for example) get this wrong, which is why either variation selects the correct locale definition: kutulu@basement ~ $ locale -a C en_US.utf8 POSIX It's particularly odd, since the charmap file is correctly named UTF-8 and you need to pass "-f UTF-8" to localedef to generate them. :\ > Funny that it seems to work. I don't have that file: > > root@fireball / # cat /etc/env.d/02locale > cat: /etc/env.d/02locale: No such file or directory > root@fireball / # You need to create the /etc/env.d/02locale file yourself; the name is just the "generally accepted" one most systems use. > But I do have this one: > > root@fireball / # cat /etc/locale.gen [...] > en_US ISO-8859-1 > en_US.UTF-8 UTF-8 This file is only used when you run locale-gen and/or rebuild glibc (which, in turn, runs locale-gen). It dictates whichs locales get built and installed, but not which one of those is used by default. > I followed a guide when I did mine which is why I don't recall most of > it. On this rig, it wasn't to long ago. My old rig has even older > config files. That install is about 6 pr 7 years old if I recall > correctly. The guide you probably should be following is: http://www.gentoo.org/doc/en/utf-8.xml --Mike