Use `en_US.UTF-8` as default value for LC_ALL and LANG.

master
Icedream 2018-07-18 00:43:32 +02:00
parent 809797d3a7
commit bb96653bee
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 2 additions and 4 deletions

View File

@ -56,12 +56,10 @@ if [ -d "$HOME/Library/Python/2.7" ]; then
export PATH
fi
if [ -z "$LC_ALL" ]; then
source <(locale | grep '^LC_ALL=')
export LC_ALL
export LC_ALL=en_US.UTF-8
fi
if [ -z "$LANG" ]; then
source <(locale | grep '^LANG=')
export LANG
export LANG=en_US.UTF-8
fi
section_end