$ perl perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_US.UTF-8", LC_ALL = (unset), LC_MONETARY = "en_US.utf8", LC_NUMERIC = "en_US.utf8", LC_MEASUREMENT = "en_US.utf8", LC_TIME = "en_US.utf8", LANG = "en_GB.utf8" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). ^C
on
$ cat /etc/debian_version; uname -a 7.5 Linux debie64 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3 x86_64 GNU/Linux
upon installing stuff that broke my|your bash env locale variables
do
$ echo "export LANGUAGE=en_US.UTF-8" >> ~/.bashrc $ echo "export LC_ALL=en_US.UTF-8" >> ~/.bashrc $ echo "export LANG=en_US.UTF-8" >> ~/.bashrc $ source ~/.bashrc
$ perl ^Ctaraaaaa
perl should not warn and fall back to C from now on.
perl ... debian package ... bash env ... locale .... crap ... tarrraaaa