Monday 5 September 2016

Ubuntu Locale Warning from Perl

Error

perl: warning: Please check that your locale settings:
    LC_ALL = (unset),
    LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

Fix

Add the below two entries in ~/.bashrc

LC_CTYPE=en_US.UTF-8
LC_ALL=en_US.UTF-8

( or )

sudo locale-gen

sudo dpkg-reconfigure locales

No comments:

Post a Comment