can't set the locale; make sure $LC_* and $LANG are correct

Bash shell is the common linux command language.
chris
Site Admin
Posts: 217
Joined: Mon Jul 21, 2008 9:52 am

can't set the locale; make sure $LC_* and $LANG are correct

Post by chris »

can't set the locale; make sure $LC_* and $LANG are correct, latin
Quick fix for current shell

Code: Select all

export LANG="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
Permanent Fix,
update

Code: Select all

sudo nano /etc/default/local
add or complete:

Code: Select all

LANG=en_US.UTF-8
LC_ALL=en_US.UTF-8