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.

Simi
  • 81
  • 5

2 Answers2

2

I solved that warning by:

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

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

serenesat
  • 4,611
  • 10
  • 37
  • 53
Simi
  • 81
  • 5
0

set LC_ALL=C should be the right anwser !

Atef Ben Ali
  • 81
  • 2
  • 7