You are not logged in.

#1 2006-03-25 14:34:07

Benol
Member
From: Warsaw, Poland
Registered: 2006-03-20
Posts: 28

Perl and locale

When I launch an perl application (okay - it was cowsay tongue) I get an error:

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

Is an "arch way" to set these variables (profile.d or something) or I just have to set them in .bashrc or any other script?

And what should I assign to LC_COLLATE?

Offline

#2 2006-03-25 14:45:07

_Gandalf_
Member
Registered: 2006-01-12
Posts: 735

Re: Perl and locale

Have you done what JGC said -> http://www.archlinux.org/news.php#209 ??

Just uncomment the language u use in /etc/locale.gen and run locale-gen as root !

Offline

#3 2006-03-25 14:50:28

Benol
Member
From: Warsaw, Poland
Registered: 2006-03-20
Posts: 28

Re: Perl and locale

Thanks a lot. I'm quite unfamiliar with this whole locale idea and I don't understand how it works, so that's my problem tongue I didn't have any idea that glibc news might have anything in common with perl...

Offline

Board footer

Powered by FluxBB