Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Oct 2020 17:53:06 +0100
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        Dimitry Andric <dim@FreeBSD.org>
Cc:        "arch@freebsd.org" <arch@FreeBSD.org>
Subject:   Re: Switch the default locale to C.UTF-8 before FreeBSD 13
Message-ID:  <20201027165306.hlrntgrqjzw3mutr@ivaldir.net>
In-Reply-To: <16692305-26DC-4AAA-9962-47052807922A@FreeBSD.org>
References:  <20201027154720.mjmn5cofvkqoyd5w@ivaldir.net> <16692305-26DC-4AAA-9962-47052807922A@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <bapt@FreeBSD.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20201027165306.hlrntgrqjzw3mutr>