> Date: Tue, 7 Jan 2025 18:51:56 +0100 > From: Patrice Dumas <pertu...@free.fr> > Cc: Preuße, Hilmar <hill...@web.de>, bug-texinfo@gnu.org > > > The message are coming from the locale program: > > > > $ LC_ALL=foo locale > > locale: Cannot set LC_CTYPE to default locale: No such file or directory > > locale: Cannot set LC_MESSAGES to default locale: No such file or directory > > locale: Cannot set LC_ALL to default locale: No such file or directory > > Indeed, I now feel dumb ;-). We call "locale -a" to get a locale we can > use to switch to, both in Perl and in C, this is probably why. Maybe we > could redirect locale -a stderr to /dev/null (we do not call locale -a > on _WIN3/MSWin32).
There's no 'locale' program on Windows, and no way to change the locale for a single program's run.