perl: warning: Setting locale failed. | |
perl: warning: Please check that your locale settings: | |
LANGUAGE = (unset), | |
LC_ALL = (unset), | |
LANG = "en_US.utf8" | |
are supported and installed on your system. | |
perl: warning: Falling back to the standard locale ("C"). |
thanks man
Thank you
It works ! thanks.
thanks
Since I do not have administrator rights, it will be "Permission denied" when I try to run locale-gen en_US.UTF-8
.
I add these three lines to my shell and it works!
Thanks!!!
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
Help
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
Also
dpkg-reconfigure locales command not found
Not solve the problam
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US.UTF-8",
LC_ALL = "en_US.UTF-8",
LC_ADDRESS = "en_IN.UTF-8",
LC_NAME = "en_IN.UTF-8",
LC_MONETARY = "en_IN.UTF-8",
LC_PAPER = "en_IN.UTF-8",
LC_IDENTIFICATION = "en_IN.UTF-8",
LC_TELEPHONE = "en_IN.UTF-8",
LC_MESSAGES = "en_IN.UTF-8",
LC_MEASUREMENT = "en_IN.UTF-8",
LC_CTYPE = "en_IN.UTF-8",
LC_TIME = "en_IN.UTF-8",
LC_COLLATE = "en_IN.UTF-8",
LC_NUMERIC = "en_IN.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
usage: vncserver
8 years later... WTF!!!
Debian/Ubuntu 安装后并不一定提供了完整的语言支持,因此需要手动安装: