Answer the question
In order to leave comments, you need to log in
How to set LC_ALL in Ubuntu for user www-data?
A whole bunch of things have been done. The locales are defined in the following files:
/root/.bashrc
/home/user1/.bashrc
/var/www/.bashrc
/etc/default/locale
The server has been rebooted. Executed a bunch of other commands:
sudo locale-gen "en_US.UTF-8"
sudo dpkg-reconfigure locales
sudo update-locale LC_ALL=en_US.UTF-8 LANG=en_US.UTF-8
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=
Answer the question
In order to leave comments, you need to log in
Here's your standard warning:
The LC_ALL variable overrides all LC_* variables, including LANG, with its value, whether they are set or not.
The LC_ALL variable is the only one of all LC_ variables that cannot be set in /etc/locale.conf: it is only for troubleshooting purposes.
/etc/environment
: LC_ALL=
export LC_ALL=локаль
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question