Based on Perl on Windows 7

I installed Padre perl, perl IDE on windows 7. And every time I run the program, I get an error message

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

I get the outputs, but this error message is on top of each output. I'm tired of finding solutions to this problem, can someone tell me how to fix this problem?

+6
source share
1 answer

You need to set the LC_ALL and LANG environment variables in C :

 C:\>set LC_ALL=C C:\>set LANG=C C:\>perl x.pl 

If you want to make it permanent or work with your IDE, go to Control Panel-> System and Security-> System-> Advanced System Settings, and on the Advanced tab, click Environment Variables. Then add LC_ALL and LANG to the list. You may need to restart the IDE if you make changes to these variables.

+2
source

All Articles