Thank You Big City Babe (and Ken), I have tried it. Seting either LANG or LC_ALL to C gets me rid of warnings, but Perl 5.8 makes terrible mess from non-ASCII characters. Any other locale (cs, de, en ... ) doesn't work. I have tried all the combinations.

Perl 5.6 works fine with ANY LC_ALL and any LANG in the same shell. How is it possible?

Pavel


On Tuesday, Feb 4, 2003, at 21:34 Europe/Prague, Big City Baby wrote:

This might help:

http://www.aaronfaby.com/forums/viewtopic.php?t=95



On Tuesday, February 4, 2003, at 08:14 AM, Pavel Stranak wrote:

I had perviously discussed problem after installing perl 5.8:

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LANG = "en"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

but suggested help: "setenv LANG C" helps only a little.

My script for counting character frequencies in texts used to work on czech, chinese and anything else under v5.6. Now it is good only for english.

I need perl to work with ANY language, so what LANG should I set? (And why did previous version work with "LANG=en"?)

Any advice is welcome.

Regards,
Pavel





Reply via email to