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 4E3791384B4 for ; Wed, 11 Nov 2015 07:37:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DF38A21C044; Wed, 11 Nov 2015 07:37:14 +0000 (UTC) Received: from a1www.kph.uni-mainz.de (a1www.kph.uni-mainz.de [134.93.134.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C15B221C026 for ; Wed, 11 Nov 2015 07:37:13 +0000 (UTC) Received: from a1i15.kph.uni-mainz.de (a1i15.kph.uni-mainz.de [134.93.134.92]) by a1www.kph.uni-mainz.de (8.14.9/8.14.7) with ESMTP id tAB7bAdn011063 for ; Wed, 11 Nov 2015 08:37:10 +0100 Received: from a1i15.kph.uni-mainz.de (localhost [127.0.0.1]) by a1i15.kph.uni-mainz.de (8.14.8/8.14.2) with ESMTP id tAB7b9Z0026663; Wed, 11 Nov 2015 08:37:09 +0100 Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.8/8.14.8/Submit) id tAB7b9OT026659; Wed, 11 Nov 2015 08:37:09 +0100 Message-ID: <22082.61477.433854.687779@a1i15.kph.uni-mainz.de> Date: Wed, 11 Nov 2015 08:37:09 +0100 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [RFC] ban use of base-4 casemods in ebuilds due to locale collation instability In-Reply-To: <5642EB63.7030708@necoro.eu> References: <20151110235311.GR5154@vapier.lan> <20151111025145.GU5154@vapier.lan> <22082.49419.148679.628538@a1i15.kph.uni-mainz.de> <5642EB63.7030708@necoro.eu> X-Mailer: VM 8.2.0b under 24.3.1 (x86_64-pc-linux-gnu) From: Ulrich Mueller 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; boundary="pgp+signed+bMgv499h8a6bUIe"; micalg=pgp-sha256; protocol="application/pgp-signature" X-Archives-Salt: 12b08240-abd4-4769-9768-8c05151805a4 X-Archives-Hash: dc21a3d174686e9838eb03b661e681fe This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --pgp+signed+bMgv499h8a6bUIe Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable >>>>> On Wed, 11 Nov 2015, Ren=C3=A9 Neumann wrote: >> Shouldn't these be safe to use if the string consists purely of >> ASCII characters=3F I mean, A-Z and a-z should be uppercase and >> lowercase, respectively, in any locale=3F > Unfortunately, no (have been bitten by this issue already some years > ago): > $ echo $LC=5FALL > tr=5FTR > $ f=3Di; echo ${f^^} > =C4=B0 > $ f=3DI; echo ${f,} > =C4=B1 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]. Maybe we should advise users in our documentaion that they should avoid such broken locales for ebuilds=3F Ulrich [1] https://commons.wikimedia.org/wiki/File:Evolution=5Fof=5Fminuscule.= svg --pgp+signed+bMgv499h8a6bUIe Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQEcBAEBCAAGBQJWQvAEAAoJEMMJBoUcYcJzqXQIAJHqVvFUJPam+6w9TuyLfON+ Zq/lpm+m/HskiKWGYTAoaVLbBdVQ69aTSfloro2FEOE6o6Yat6LC7srsWWFp/qWd /jYVUs27K6Aig2GHqmOQFNt8HP/SI5KsggbU1KiRdORu2bMFaxorJ3SH2pP7dUhK uOXvjz7Tqf4TWjEh+KpwHSQ1zlbu68CiB5rg64GOs9u6LzhhpFgEJ58ZHvQ1bgOv pH07KaDNvauqxOcxrPai3AUJflLLrY3mnAo4dA1F65sHm8Mjjko1ur0EX/c3EN82 7AyN64a2aHxQnWVOCYhWE7syjgs2Kyrwd9GojUfT6sSynlM7yrm/c0sBBhYf3Ok= =+XRT -----END PGP SIGNATURE----- --pgp+signed+bMgv499h8a6bUIe--