måndag 4 mars 2013

Set LC_ALL once and for all...

To get rid of the annoying messages in ubuntu complaining about things like


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.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory


you should do

sudo locale-gen en_US.UTF-8
sudo dpkg-reconfigure locales

Inga kommentarer:

Skicka en kommentar