Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

How do I fix locale warnings?

by hbmartin (Initiate)
on May 17, 2003 at 17:03 UTC ( [id://258873]=perlquestion: print w/replies, xml ) Need Help??

hbmartin has asked for the wisdom of the Perl Monks concerning the following question:

Hello, I keepgetting this message whenever I run a perl script:

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

What can I do to fix this? I'm on a linux system.
Thanks,
Harold

Replies are listed 'Best First'.
Re: How do I fix locale warnings?
by chromatic (Archbishop) on May 17, 2003 at 20:03 UTC

    Set the LC_ALL environment variable to C. If you're using bash as your shell, you can put this in your .bashrc: export LC_ALL='C';.

    This may have an effect on other programs on your system, though.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://258873]
Approved by Flame
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-19 16:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found