[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Strange ePerl behavior: $LANG
- From: "Albert REINER" <nospam@thanx>
- Date: Wed, 31 May 2000 17:49:59 +0200
Hi all,
I only recently became aware of WML, read about it, downloaded and
installed it, and I think that I will like it very much once I get the
hang of it. However, I have consistently been seeing some strange
behavior with the ePerl-step (I'm using what once was a SuSE-Linux
5.3, kernel 2.0.35):
my trivial input file:
$ cat x.wml
foo
bar
now I try to run wml on it:
$ wml x.wml
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").
ePerl:Error: Perl runtime error (interpreter rc=0)
---- 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
Is this a known problem, or am I doing something obviously wrong? For
me this is not very important, as I don't think I actually need $LANG
in the environment, but still I would appreciate any help in fixing
this problem.
Thanks in advance,
Albert.
P.S.: This is the first post to this list, and I don't know whether or
not it is customary to introduce oneself here. Just in case, I am
usually a physics student (working on my doctoral thesis on
theoretical fluid physics), but currently I am doing my compulsory
military service. I live in Vienna, Austria, Europe. Oh, and I am
interested in Esperanto (and this has something to do with why I think
WML will make the web-part of my life much easier).
--
--------------------------------------------------------------------------
Albert Reiner <areiner@tph.tuwien.ac.at>
Deutsch * English * Esperanto * Latine
--------------------------------------------------------------------------
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com