At 10:47 AM 4/19/2001, you wrote:

>This is no doubt a real newbie question.  Every time I run perl I get
>the following warnings:
>
>perl: warning: Setting Locale failed.
>perl: warning: Please check that your locale settings:
>         LANGUAGE = "en",
>         LC_ALL = "en",
>         LANG = "en",
>     are supported and installed on your system.
>perl: warning: Falling back to the standard locale ("C").
>
>I am running Linux-Mandrake 7.0, with only a couple services turned on.
>My question is: where do I set these locale variables?
>
>Thanks much!


Hurmph.  Well, being a native English and English only speaker, I have not 
really delved into Perl locale settings, but I'm game if you are.

All of the variables are environment variables, and I suppose you could set 
them with whatever tool you use on your OS.  ( I'm not a all familiar with 
the Mandrake distribution, so I don't know what tools if comes with.  But I 
would think it would be one of 'env', 'set', or 'setenv'.  Check your man 
pages for syntax or caveats. )

You could try to set all of the variables that you got warnings about, but 
I really have no idea what they should be set to.  You'll need to dig into 
perllocale to find all of the settings and such.  Your other options are to 
set PERL_BADLANG, in which case Perl will ignore all the locale stuff, or 
reinstall/rebuild perl.  I would say that setting PERL_BADLANG would be the 
worst of all the solutions, and, as such, a last resort.

Also, if this perl came with Mandrake's distro and was broken out of the 
box, you might want to hit their site for updates, patches, and other 
errata.  There could be something there.  Hope this helps.

Thank you for your time,

Sean.

Reply via email to