From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DEA811384B4 for ; Wed, 11 Nov 2015 07:47:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4DF3421C045; Wed, 11 Nov 2015 07:47:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5C12021C019 for ; Wed, 11 Nov 2015 07:47:25 +0000 (UTC) Received: from vapier.lan (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with SMTP id 798C533E3A9 for ; Wed, 11 Nov 2015 07:47:24 +0000 (UTC) Date: Wed, 11 Nov 2015 02:47:24 -0500 From: Mike Frysinger To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [RFC] ban use of base-4 casemods in ebuilds due to locale collation instability Message-ID: <20151111074724.GY5154@vapier.lan> Mail-Followup-To: gentoo-dev@lists.gentoo.org References: <20151110235311.GR5154@vapier.lan> <20151111025145.GU5154@vapier.lan> <22082.49419.148679.628538@a1i15.kph.uni-mainz.de> <5642EB63.7030708@necoro.eu> <22082.61477.433854.687779@a1i15.kph.uni-mainz.de> 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: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="oOINc+Z9LTvKzseX" Content-Disposition: inline In-Reply-To: <22082.61477.433854.687779@a1i15.kph.uni-mainz.de> X-Archives-Salt: e0f77620-77e1-44c3-835a-aa5ff62930ca X-Archives-Hash: 7cb4d13132477b011c9cfdaf2953890c --oOINc+Z9LTvKzseX Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 11 Nov 2015 08:37, Ulrich Mueller wrote: > >>>>> On Wed, 11 Nov 2015, Ren=C3=A9 Neumann wrote: >=20 > >> Shouldn't these be safe to use if the string consists purely of > >> ASCII characters? I mean, A-Z and a-z should be uppercase and > >> lowercase, respectively, in any locale? >=20 > > Unfortunately, no (have been bitten by this issue already some years > > ago): >=20 > > $ echo $LC_ALL > > tr_TR > > $ f=3Di; echo ${f^^} > > =C4=B0 > > $ f=3DI; echo ${f,} > > =C4=B1 >=20 > This is wrong on so many levels. :( It starts with the fact that the > dot over the lowercase latin i historically never was a diacritical > mark [1]. >=20 > Maybe we should advise users in our documentaion that they should > avoid such broken locales for ebuilds? i'm not sure telling people their native language is wrong is a smart move. it also would seem to cut against the purpose of the PMS. -mike --oOINc+Z9LTvKzseX Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJWQvKMAAoJEEFjO5/oN/WB3LAP/j/ibd83GpO4NuTGfrjbNf1W 3P+lXIvCxr33c9aBBcXE647Sjdb4YlY6CGizuOKNSJBkOrI7cERJ3GYl+vI/WUSj BX0Q/KGNX4dlJ1T6TGowaC6bo74sKo6K7uUieCrloEfibsqxJ4Ia9wIi6O9Jv4Ij zUKFjHRGtosHC0bqU6i0EUQ3qEFhhyJVKWi0UV6HURayPf9MJ4ogWEPzmGKJvzkI UVxgFbnb/G70aXaE8ZJvB/ykinUUiC+9QnLt0cC0UVn1VNHB4rO/uRuDwKx/5Uu3 NBxumdkk0IeRnQS4pp1E3QMcEaKlSrdOn2E/OWAl5B0Frrz4/oVCP9TL1xoYEbIF UHo9FhR4Yb0yi35ZtZnYXqcK7T2iOUU2qLj4XgraTjkkRfRpCViMVyBjnbnQjqFT rwREdiAYkeLv8kMN+bhyth035mddSd0amt5uik5tr9Nwqg7/SumWSjPBC0gjBCNk mdhz4oPbBzBU3vPK75HieakUgfKrw5tNKslfwMzGjYwbmyWlz5GEePdmLcmIfWj1 EI8MKOg4p/CYus2MJ8eCYrEfNL6JNY1jWqe89b6bx8ckG5NZZcK9XzfwFEFNPhyM x6qSBdkKPBfY01/8PvSGPvGKmsVaExhwaoZmn8FV/2LYtfDDhxlBlvf1oEzjKTJV hjve/UtXaUdRy0gw4Q43 =OxXM -----END PGP SIGNATURE----- --oOINc+Z9LTvKzseX--