LANG environment variable in zsh
User
you can declare and export the LANG
environment variable in your ~/.zshrc
export LANG=en_US.UTF-8
Logout and log-in again to activate.
System-wide
For a system wide configuration edit /etc/default/locale
as follow:
LANG="en_US.UTF-8"LANGUAGE="en_US:en"LC_NUMERIC="en_US.UTF-8"LC_TIME="en_US.UTF-8"LC_MONETARY="en_US.UTF-8"LC_PAPER="en_US.UTF-8"LC_IDENTIFICATION="en_US.UTF-8"LC_NAME="en_US.UTF-8"LC_ADDRESS="en_US.UTF-8"LC_TELEPHONE="en_US.UTF-8"LC_MEASUREMENT="en_US.UTF-8"
Check
You can get information about your locale with:
locale
first:
sudo apt-get purge locales
then:
sudo aptitude install locales
and the famous:
sudo dpkg-reconfigure locales
This rids the system of locales, then re-installs locales and downgrades libc6 from 2.19 to 2.13 which is the issue. Then configures locales again.