Fix Locale Errors in Ubuntu
For some reason the locale settings will break in Ubuntu. Here's what you have to do to fix things.
Broken Locale Settings
Whenever you see messages similar to the following you have a problem with your locale settings.
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").
To fix this problem all you have to do is regenerate the locale settings by issuing the following command:
# locale-gen en_US.UTF-8
Generating locales...
en_US.UTF-8... done
Generation complete.
#