Bug#1010682: sysvinit-core: let's default LANG to C.UTF-8

Adam Borowski kilobyte at angband.pl
Sat May 7 10:42:05 BST 2022

On Sat, May 07, 2022 at 07:20:07AM +0100, Mark Hindley wrote:
> On Sat, May 07, 2022 at 05:19:05AM +0200, Thorsten Glaser wrote:
> > On Sat, 7 May 2022, Adam Borowski wrote:
> > 
> > > But, as glibc still considers unset locale to mean "C" rather than
> > > "C.UTF-8", _something_ must set these variables.  Debian-installer does
> > 
> > There's talk to chage that in glibc-in-Debian at least.

Oh, interesting.  Could you please provide a link, as I seem to fail to find
such a talk?

I've proposed this myself several years ago but it was then rejected.  IIRC
one of the concerns raised was that eg. Postgresql tools do "unset LANG
LC_ALL LC_CTYPE" to get the "C" locale.

> > > As systemd does define LANG=C.UTF-8, I'm not hopeful the default will
> Since we seem to agree glibc would be the best place to make this change and if
> there is already talk about changing it there let's add our voice to that
> discussion first?

⣾⠁⢠⠒⠀⣿⡁ I was born a dumb, ugly and work-loving kid, then I got swapped on
⢿⡄⠘⠷⠚⠋⠀ the maternity ward.

More information about the Debian-init-diversity mailing list