In my ~/.profile
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
But $ locale prints empty LC_ALL:
LANG="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_CTYPE="UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_ALL=
How can I set LC_ALL to "en_US.UTF-8" ?
locale
is set by the terminal emulator (Terminal.app) when you start the app andLC_ALL
does not need to be set unless you want to change the defaultLANG
settings forLC_COLLATE
and others.