linux:debian:locale
This is an old revision of the document!
Table of Contents
Locale
check
locale cat /etc/default/locale cat /etc/locale.gen cat /etc/locale.conf echo $LANG
generate and set default locale
dpkg-reconfigure locales
generate locales
sudo nano /etc/locale.gen # check if "en_US.UTF-8 UTF-8" is uncommmented
sudo locale-gen # generate locales
sudo update-locale LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 cat /etc/default/locale
locale POSIX
└─[$] locale LANG= LANGUAGE= LC_CTYPE="POSIX" LC_NUMERIC="POSIX" LC_TIME="POSIX" LC_COLLATE="POSIX" LC_MONETARY="POSIX" LC_MESSAGES="POSIX" LC_PAPER="POSIX" LC_NAME="POSIX" LC_ADDRESS="POSIX" LC_TELEPHONE="POSIX" LC_MEASUREMENT="POSIX" LC_IDENTIFICATION="POSIX" LC_ALL=
Fix
sudo nano /etc/ssh/sshd_config UsePAM yes
linux/debian/locale.1772976322.txt.gz · Last modified: by gsys