4

I have installed ActivePerl-5.8.9.829-MSWin32-x86-294280 on my windows 7.

Whenever I run any Perl script, I get following error :

Perl: warning: Setting locale failed.
Perl: warning: Please check that your locale settings:
    LC_ALL = "C",
    LANG = "en_US.UTF-8"
are supported and installed on your system.
Perl: warning: Falling back to the standard locale ("C").

I tried setting through environment variable and cmd but it didn't help.

Kindly help because my further installations depends on Perl.

8
  • PS: I have tried many suggestions but nothing helped.
    – Simi
    Feb 5, 2015 at 4:30
  • Can you try Dwimperl and Stawberry perl.?
    – mkHun
    Feb 5, 2015 at 4:55
  • I cant. I want specific version for my further installations.
    – Simi
    Feb 5, 2015 at 5:01
  • "I tried setting through environment variable and cmd but it didnt help" What did you do and how did it not work? Did you set a system variable (lower pane in the wretched Environment Variables dialog)?
    – tripleee
    Feb 5, 2015 at 6:20
  • 2
    in cmd I did set LC_ALL=C
    – Simi
    Feb 5, 2015 at 7:34

2 Answers 2

2

I solved that warning by:

Go to control Panel-->Region and Language-->Formats.

In formats tab your Format should be English(United States).

0

set LC_ALL=C should be the right anwser !

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.