Debian locales

Have you ever come across this error:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = "en_GB:en",
	LC_ALL = (unset),
	LANG = "en_GB.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
It turns out that this can be easily solved in a couple of steps (on debian).
  1. install the locales package:
    apt-get install locales
  2. reconfigure your locale:
    dpkg-reconfigure locales
No more nasty perl warnings.

Posted by neomorphic Sat, 15 Dec 2007 15:27:00 GMT



weewar.com corner