Switch the default locale to C.UTF-8 before FreeBSD 13

Dimitry Andric dim at FreeBSD.org
Tue Oct 27 16:43:30 UTC 2020


On 27 Oct 2020, at 16:47, Baptiste Daroussin <bapt at FreeBSD.org> wrote:
> 
> I would like to switch the default locale to C.UTF-8 in FreeBSD 13.0
> 
> https://reviews.freebsd.org/D26973
> 
> The C.UTF-8 locales is the same as the actual C locale except it does support
> the unicode character set. But the collation (aka how sort is being done) etc
> are still the same as the C locale.
> 
> What opinion on the matter?

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.

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=en_US.UTF-8.

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 223 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20201027/7a894de6/attachment.sig>


More information about the freebsd-arch mailing list