Fix locale errors on linux
Have you ever gotten error messages such as the following when running
commands such as
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = ,
LC*ALL = ,
LC*CTYPE = "en*US.UTF~~8",
are supported and installed on your system.
I’ve had this problem quite a lot on my VPS boxes on Linode and SliceHost. The solution is simple, simply run the following: