https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42370 David Cook <dcook@prosentient.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dcook@prosentient.com.au --- Comment #2 from David Cook <dcook@prosentient.com.au> --- I am kind of curious. I spent a lot of time with locales with bug 36947. Note the following line in Koha/I18N.pm: my @system_locales = grep { chomp; not( /^C/ || $_ eq 'POSIX' ) } qx/locale -a/; So it looks like it's stuffing whatever locale it can find into $ENV{LANG}. According to https://perldoc.perl.org/POSIX, $loc = setlocale( LC_CTYPE, "" ); it seems like it's not being cleared but rather it's using whatever the environmental variable is set to? https://man7.org/linux/man-pages/man3/setlocale.3.html If locale is an empty string, "", each part of the locale that should be modified is set according to the environment variables. Anyway it's Friday and after 5 so I'm not going to be led down a rabbithole... hehe. Good luck! -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.