After this change, perl freaks out like this:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LANG = "C.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
panic: locale.c: 4560: Could not change LC_CTYPE locale to C.UTF-8, errno=22
Is this expected? This is perl5-5.32.0
Maybe we should either (1) install the C.UTF-8 locale unconditionally, even when WITHOUT_LOCALES=YES, or (2) set LANG=C when WITHOUT_LOCALES=YES. Option 2 would better honor the WITHOUT_LOCALES setting, but I'm not sure how to implement it. Maybe login needs runtime validation of the locale, with a fallback to C.