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

Re: Strange ePerl behavior: $LANG

On Wed, 31 May 2000, Albert REINER wrote:

> Hi all,

Hi Albert,

>     ---- Contents of STDERR channel: ---------
>     perl: warning: Setting locale failed.
>     perl: warning: Please check that your locale settings:
>     	    LC_ALL = (unset),
>     	    LC_CTYPE = "de_DE",
>     	    LANG = "de"
>     	are supported and installed on your system.
>     perl: warning: Falling back to the standard locale ("C").
>     ------------------------------------------
>     ** WML:Break: Error in Pass 3 (rc=74).
> It seems something has gone quite wrong. (N.B.: when using Perl I also
> get those warnings, but I always just ignore them and everything works
> fine).
> Now I unset $LANG, and everything works fine:
>     $ unset LANG
>     $ wml  x.wml
>     foo
>     bar
> And now I reset $LANG to its old value, but there are no warnings any
> more!
>     $ set LANG="de"
>     $ wml  x.wml
>     foo
>     bar

You should have written
   setenv LANG de

Anyway, try
   setenv LC_ALL de_DE
to remove this warning (which is not related to WML, but to Perl).

PS: if you are looking for archives of this list, they are available at

Denis Barbier
WML Maintainer

Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com