一位朋友在他的服务器上运行CentOS 5.8.这是一个无害的错误,但我已经厌倦了看到它.我对debian比较熟悉,所以我不确定如何生成或重新配置语言环境.我习惯的常用二进制文件(locale-gen,dpkg等)不在此服务器上.
[root@localhost]# git pull origin master bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8) perl: warning: Setting locale Failed. perl: warning: Please check that your locale settings: LANGUAGE = "en_GB:en",LC_ALL = "en_US.utf8",LANG = "en_GB" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). From git.com:www * branch master -> FETCH_HEAD Already up-to-date.
语言环境似乎很好.
LANG=en_US.utf8 LC_CTYPE="en_US.utf8" LC_NUMERIC="en_US.utf8" LC_TIME="en_US.utf8" LC_COLLATE="en_US.utf8" LC_MONETARY="en_US.utf8" LC_MESSAGES="en_US.utf8" LC_PAPER="en_US.utf8" LC_NAME="en_US.utf8" LC_ADDRESS="en_US.utf8" LC_TELEPHONE="en_US.utf8" LC_MEASUREMENT="en_US.utf8" LC_IDENTIFICATION="en_US.utf8" LC_ALL=en_US.utf8
它是受支持的语言环境.
[root@localhost]# locale -a | grep en_US en_US en_US.iso88591 en_US.iso885915 en_US.utf8