I
I
Ivan Istomin2014-07-09 15:13:30
Perl
Ivan Istomin, 2014-07-09 15:13:30

Why does perl crash: warning: Setting locale failed?

Every day on my Debian server the same error occurs:

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").

I do:
export LC_ALL=en_US.UTF-8
export LANGUAGE=en_US.UTF-8

It is treated, and the next day again

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vladimir, 2014-09-04
@rostel

apt-get install locales
dpkg-reconfigure locales

add en_US.UTF-8
then select it by default in the system environment

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question