Fixing "perl: warning: Setting locale failed" on Debian 5.0
If you're seeing some error messages like this
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Run the following
apt-get install locales dpkg-reconfigure locales
In the screens that follow, select the locale for your language. For example, for my server in California, I selected "en_US.UTF-8".

