Aug 30, 2011

fix, Perl locale warning on OSX

If perl scripts issue a warning that the locale is not set properly, the warning will look similar to this:

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

To fix it, download this perlfix.sh from my github, chmod +x it and run to fix the problem.

https://github.com/moeseth/small-osx-scripts/blob/master/perlfix.sh



.

No comments:

Post a Comment