Irritation: Falling back to the standard locale (“C”)

Due to the pressures of university (labs, reports, and a dissertation), coupled with some of the other things I’ve been doing I haven’t posted here in ages. For now I’ll have to give you a post that is as much for you as it is for me.

Occasionally on my debian box I get an error such as:

$ perl: warning: Falling back to the standard locale ("C")

I always forget how to fix this, but the following should work:

# dpkg-reconfigure locales

If you get dpkg-reconfigure: locales is not installed, do an

apt-get install locales

and say yes when it asks you if you want to remove base-config. The functions of base-config have been superseded by locales.