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 1OfJoD-0000do-QJ for garchives@archives.gentoo.org; Sat, 31 Jul 2010 21:41:33 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 13B9FE0AD9; Sat, 31 Jul 2010 21:41:28 +0000 (UTC) Received: from eagle.jhcloos.com (eagle.jhcloos.com [207.210.242.212]) by pigeon.gentoo.org (Postfix) with ESMTP id 7232BE05DE for ; Sat, 31 Jul 2010 21:41:04 +0000 (UTC) Received: by eagle.jhcloos.com (Postfix, from userid 10) id 9071540314; Sat, 31 Jul 2010 21:40:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhcloos.com; s=eagle; t=1280612463; bh=xmSMBjA3v0QOTmet6uJ5sfCLz6+fFiAco3NeiFumFRs=; h=From:To:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type:Content-Transfer-Encoding; b=OUHst1letcY8wceLMpn6VwXAvPXmpTqVc+YEJcgJ6uJdJyH8aiuCOq7R9/GQBaM7I HuF1jwSOwm6oh1t8t5YWgQQyh1ekQO6BNB98P4ovsL+kOlWSZHD8zzOcL7SACvESLn J/yhieu1MFapX67w5OiGaWxNEggex1cxOMzTITH0= Received: from carbon.jhcloos.org (localhost [127.0.0.1]) by carbon.jhcloos.org (Postfix) with ESMTP id DC3A31CC66B for ; Sat, 31 Jul 2010 21:39:27 +0000 (UTC) From: James Cloos To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Locale check in python_pkg_setup() In-Reply-To: <4C530291.2010100@gentoo.org> (=?utf-8?Q?=22Pawe=C5=82?= Hajdan, Jr."'s message of "Fri, 30 Jul 2010 09:49:21 -0700") References: <201007300116.43653.Arfrever@gentoo.org> <4C5243C7.70709@gentoo.org> <20100730034827.GC15031@hrair> <4C530291.2010100@gentoo.org> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAI1J REFUOE+lU9ESgCAIg64P1y+ngUdxhl5H8wFbbM0OmUiEhKkCYaZThXCo6KE5sCbA1DDX3genvO4d eBQgEMaM5qy6uWk4SfBYfdu9jvBN9nSVDOKRtwb+I3epboOsOX5pZbJNsBJFvmQQ05YMfieIBnYX FK2N6dOawd97r/e8RjkTLzmMsiVgrAoEugtviCM3v2WzjgAAAABJRU5ErkJggg== Copyright: Copyright 2009 James Cloos OpenPGP: ED7DAEA6; url=http://jhcloos.com/public_key/0xED7DAEA6.asc OpenPGP-Fingerprint: E9E9 F828 61A4 6EA9 0F2B 63E7 997A 9F17 ED7D AEA6 Date: Sat, 31 Jul 2010 17:39:27 -0400 Message-ID: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-Hashcash: 1:30:100731:gentoo-dev@lists.gentoo.org::Hh5hoyknOOen8svt:000000000000000000000000000000000O7QNT Content-Transfer-Encoding: quoted-printable X-Archives-Salt: e31a2b3b-39e2-4aca-bdf4-fa3b03843b71 X-Archives-Hash: 88f724cdc290cd793b6bda2e8538f968 >>>>> "PH" =3D=3D Pawe=C5=82 Hajdan, writes: PH> Another thing we can consider is making UTF8 the default setup in PH> Gentoo. I think most people (including me) don't care whether it's PH> C or UTF8 as long as it works. Forcing utf-8 will only be reasonable when there is a C.UTF-8 and/or a POSIX.UTF-8 locale. That should be done upstream in glibc, but were they to refuse then Gentoo should add it to the glibc ebuild. The language_country locales are just wrong for root. They are often broken (locales like en_US force case-insensitive colation, meaning that a command such as 'rm [a-z]*' will unlink(2) 'Makefile' and similar files which one would not expect to match) and cause bugs. In fact, glibc's insistance that C and POSIX are ascii rather than raw unspecified eight bit is itself a bug. Utf8 is nice, but forcing the lang_country locales on root is not. -JimC --=20 James Cloos OpenPGP: 1024D/ED7DAEA6