On Tue, Jan 07, 2025 at 06:37:51PM +0100, Andreas Schwab wrote: > On Jan 07 2025, Patrice Dumas wrote: > > > I do not think that it can be fixed in texi2any, though, so it is > > probably best to leave the issue unresolved, since this is not a message > > that texi2any output (unless I missed something). > > 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). -- Pat