Reputation: 933
Is there any way to remove this when I run a perl script? I am running ubuntu.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_PAPER = "no_NO.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Upvotes: 4
Views: 11444
Reputation: 4709
To get rid of the messages (by setting up the locales), run this command:
sudo locale-gen en_US en_US.UTF-8
then
sudo dpkg-reconfigure locales
Hope it helps.
Upvotes: 8
Reputation: 2524
Simply say export LC_ALL=C.UTF-8
, or put that into your .profile
.
Upvotes: 5