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 1QXF3s-0008Tl-Kq for garchives@archives.gentoo.org; Thu, 16 Jun 2011 16:04:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 443701C0A7 for ; Thu, 16 Jun 2011 16:04:52 +0000 (UTC) Received: from mail-qy0-f181.google.com (mail-qy0-f181.google.com [209.85.216.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 296321C010 for ; Thu, 16 Jun 2011 15:45:30 +0000 (UTC) Received: by qyg14 with SMTP id 14so862733qyg.19 for ; Thu, 16 Jun 2011 08:45:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=p85EWcKojHUzo1xYmAhKRNGt75BgmXyrdue17mtWey8=; b=aqMO6zNd/9Gmn6VL+sHUcBSbIh+iQdVVJ/XbEZo+6ZSDEV50MJcVMxSeXmlbqjvhZA pKWrhwfA6Vd/Pquv6940C9ljfwR+9lKZ3hJTwZPHohBaR8f4pacKLohV1YgxmxcE+aof L17LhFU/K1OfYFQmN2ZEittBqpVab5MCp/w68= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=KPMwz+RvTsOv/PkBtViN0DLxYM6vYj4a4/BQ+uS6NuE0gWzcwivXnksRMTmHEFdYvT apo2xftxMGJsP2CsMDB6uL4XMp0Ac57LF2GURgqbfZzUbUn39LOBbnSzbp0ZdxAolCvU qK2Aw86vN122yvXeOvfgiN6TvqJrtpf0pBkPs= 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 Received: by 10.224.67.72 with SMTP id q8mr720739qai.278.1308239129255; Thu, 16 Jun 2011 08:45:29 -0700 (PDT) Received: by 10.224.61.14 with HTTP; Thu, 16 Jun 2011 08:45:29 -0700 (PDT) Date: Thu, 16 Jun 2011 08:45:29 -0700 Message-ID: Subject: [gentoo-user] /etc/locale vs /etc/env.d/02locale? From: Mark Knecht To: Gentoo User Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: X-Archives-Hash: 9cc2f86ccd9bbe631d5fa55df4cb826d Is there a simple explanation concerning the difference between the two locales I have seen on Gentoo machines? 1) /etc/locale, as specified in the installation documents 2) /etc/env.d/02locale as has been discussed on the list recently I'm helping a Windows friend bring up his first Gentoo box. With the locale set in /etc/locale as per the install docs the locale command returns: (from the chroot) (chroot) livecd linux # cat /etc/locale.gen en_US ISO-8859-1 en_US.UTF-8 UTF-8 (chroot) livecd linux # locale LANG= LC_CTYPE="POSIX" LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL= (chroot) livecd linux # However on my machines it did the same thing until I set 02locale and now it returns: mark@c2stable ~ $ locale LANG=en_US.UTF8 LC_CTYPE="en_US.UTF8" LC_NUMERIC="en_US.UTF8" LC_TIME="en_US.UTF8" LC_COLLATE="en_US.UTF8" LC_MONETARY="en_US.UTF8" LC_MESSAGES="en_US.UTF8" LC_PAPER="en_US.UTF8" LC_NAME="en_US.UTF8" LC_ADDRESS="en_US.UTF8" LC_TELEPHONE="en_US.UTF8" LC_MEASUREMENT="en_US.UTF8" LC_IDENTIFICATION="en_US.UTF8" LC_ALL= mark@c2stable ~ $ It seems to me the latter is preferable but the install docs don't talk about it at all. Thanks, Mark