On 7/27/26 12:24, Peter Maydell wrote:
On Mon, 27 Jul 2026 at 07:14, Cédric Le Goater <[email protected]> wrote:
Linux uses:
my $git_command ='export LANGUAGE=en_US.UTF-8; git';
Does that work if your system doesn't have that locale configured?
Yeah, I had the same question. This is one more reason I think messing up
with locale might not be a good idea. Maybe C.UTF-8 would be better, b/c
it is often built-in (but not always).
Also, LANGUAGE vs LC_ALL.
I dunno why linux kernel folks choose this.
And I already explained in my previous email that it feels better to
use exit status here than to parse command output. Again, I dunno why
kernel folks choose this.
/mjt
-- PMM