From owner-freebsd-arch@freebsd.org Tue Oct 27 16:53:08 2020 Return-Path: Delivered-To: freebsd-arch@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 966744546CD for ; Tue, 27 Oct 2020 16:53:08 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4CLHnw3Yq3z3c9q for ; Tue, 27 Oct 2020 16:53:08 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 7A40C4546CC; Tue, 27 Oct 2020 16:53:08 +0000 (UTC) Delivered-To: arch@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7A036454807 for ; Tue, 27 Oct 2020 16:53:08 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CLHnw2gnjz3c7Q; Tue, 27 Oct 2020 16:53:08 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from ivaldir.etoilebsd.net (etoilebsd.net [178.32.217.76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: bapt) by smtp.freebsd.org (Postfix) with ESMTPSA id 2C3182F90C; Tue, 27 Oct 2020 16:53:08 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: by ivaldir.etoilebsd.net (Postfix, from userid 1001) id ABF1B49628; Tue, 27 Oct 2020 17:53:06 +0100 (CET) Date: Tue, 27 Oct 2020 17:53:06 +0100 From: Baptiste Daroussin To: Dimitry Andric Cc: "arch@freebsd.org" Subject: Re: Switch the default locale to C.UTF-8 before FreeBSD 13 Message-ID: <20201027165306.hlrntgrqjzw3mutr@ivaldir.net> References: <20201027154720.mjmn5cofvkqoyd5w@ivaldir.net> <16692305-26DC-4AAA-9962-47052807922A@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="4lou4yklexcyodul" Content-Disposition: inline In-Reply-To: <16692305-26DC-4AAA-9962-47052807922A@FreeBSD.org> X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Oct 2020 16:53:08 -0000 --4lou4yklexcyodul Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 27, 2020 at 05:43:19PM +0100, Dimitry Andric wrote: > On 27 Oct 2020, at 16:47, Baptiste Daroussin wrote: > >=20 > > I would like to switch the default locale to C.UTF-8 in FreeBSD 13.0 > >=20 > > https://reviews.freebsd.org/D26973 > >=20 > > The C.UTF-8 locales is the same as the actual C locale except it does s= upport > > the unicode character set. But the collation (aka how sort is being don= e) etc > > are still the same as the C locale. > >=20 > > What opinion on the matter? >=20 > It's certainly an improvement, as long as we are sure that no scripting > (either in the base system or in ports) breaks because of this. >=20 > That said, we might also need to bite the bullet, and figure out how to > set an actual language in the installer, or during system bootup. The > rest of the world (aka Linux) already sets e.g. LANG=3Den_US.UTF-8. >=20 On Debian this is C.UTF-8 FYI which is an extension we took from them ;) en_US.UTF-8 can break script because it also means to activate unicode collation. the point of C.UTF-8 is to prevent that best regards, Bapt --4lou4yklexcyodul Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEgOTj3suS2urGXVU3Y4mL3PG3PloFAl+YUHAACgkQY4mL3PG3 PlpAAhAAq8xH9xKpIzRcPUxLvda/QQPAvmzGDc1lF17g3oxfvotiJvHwLq60+M/C I5z1+/Mg4mvF4dBxF9dFEQBHxx/qSn40Vwbvmozn+Cqn88B5tmS+NCBPrqGZGvIb /uXrRAEqq5ipgtJuqBge8HMXOapFF1vPk5Dr5zsYiNJT7IR8MpRdGKvlMM91eOVL 6oLk+qq4i/Qc9o9mWvs2hXWgnWwyB8P7KuDrUrcScQBSSrCf6j85PxxC10D1YCym bfddr2o0uUP5hxLz8Y88YoC3q1dLc9QmPD7nUClzPIhBuXxuNc2Bn1d8QLzIvSV/ Z48b+q/5N/4/x0ZTOaCP0AMLhj1Oymls+XLZ5MPXsdu4D72UGDiSmw82C2xZiVZk RuvJRsJqdOBewBPWmwBRJ293goCV3wbK+33HPVmNO6ZKez0DQomzUb4eJgLKSAm3 caHXEogECnyLc0NoVwUuE96u4uppDuZqhWU5btyB+j6NVV+NgAcxMdKAeKYZLpSh ipj9jsnpcVMrnmZySckMBZiqGLNiPO/cEfEnp+bcf1wdWIozhMnr3PZiMFarHzrY aTuZ7DQxpWJF7RlSCs5rXIfHS/c+xIRqVSO+iJfo5A/RKRBKZFdM5N7H7Tpm3z1+ IOtXqBc2L9QXz4Szg8XpJJb4KNslgXGZIQPcDIjiGP/ZWSSxmeY= =KcyG -----END PGP SIGNATURE----- --4lou4yklexcyodul--