Hi, On 2024-01-09 17:47, Axel Scheepers wrote: > Hello, > > On Tue, Jan 9, 2024 at 7:18 AM Aurelien Jarno <aurel...@aurel32.net> wrote: > > C.UTF-8 is not shown on purpose, because it doesn't need to be > > generated, it is always available on the system. What you want is > > probably to be able to select it as a default locale. > > Ah yes indeed. I was confused because it's an entry in /etc/locale.gen > and uncommenting it and running dpkg-reconfigure locales showed it was > generating it. This is the first time I had to use C.UTF-8. Can you > elaborate on why it would be problematic to include it in the list?
The problem is that you end-up with two C.UTF-8 locales on the system. The one generated and the one provided by libc6. Normally that should work fine, but there is no 100% guarantee that the C.UTF-8 working is working fine during a major upgrade, between the time libc6 and locales are unpacked. > > A better workaround is probably to select a random locale to be > > generated, then you should be able to select the C.UTF-8 locale as > > default. > > Thanks, yes indeed that's better. I have just implemented that in git, the current behaviour is a left-over from before the time C.UTF-8 existed. Regards Aurelien -- Aurelien Jarno GPG: 4096R/1DDD8C9B aurel...@aurel32.net http://aurel32.net