messed up locales

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_CTYPE = “UTF-8”,
LANG = “en_US.UTF-8”
are supported and installed on your system.

Solution:

sudo dpkg-reconfigure locales

Choose: en_US.UTF-8
Then put:

LC_ALL=en_US.UTF-8

in /etc/environment

Log off and log on again

Leave a Reply

Your email address will not be published. Required fields are marked *

*