nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nmh-workers] Final poll: anything pending for 1.6-release?


From: David Levine
Subject: Re: [Nmh-workers] Final poll: anything pending for 1.6-release?
Date: Mon, 16 Jun 2014 22:10:32 -0400

Ralph wrote:

> Perhaps nmh should just issue a stderr warning and then continue, à
> la perl, but a bit more quietly?
> 
>     $ LC_ALL=foo perl -e 42
>     perl: warning: Setting locale failed.
>     perl: warning: Please check that your locale settings:
>             LANGUAGE = (unset),
>             LC_ALL = "foo",
>             LANG = "en_GB.utf8"
>         are supported and installed on your system.
>     perl: warning: Falling back to the standard locale ("C").
>     $ echo $?
>     0

I did this:

    $ LC_ALL=foo mhparam
    setlocale failed, check your LC_ALL, LC_CTYPE, and LANG environment 
variables, continuing...

glibc setlocale() uses those environment variables, but not
LANGUAGE.  So, "LANGUAGE=foo perl -e 42" doesn't trigger the
warning on my Linux box.  But it's in the warning message when
it does get triggered, like yours above.

David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]