标签:
使用Vagrant建立好虚拟机后,经常会出现locale setting failed的问题
perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LANGUAGE = (unset), LC_ALL = (unset), LC_PAPER = "en_US.UTF-8", LC_ADDRESS = "en_US.UTF-8", LC_MONETARY = "en_US.UTF-8", LC_NUMERIC = "en_US.UTF-8", LC_TELEPHONE = "en_US.UTF-8", LC_IDENTIFICATION = "en_US.UTF-8", LC_MEASUREMENT = "en_US.UTF-8", LC_CTYPE = "zh_CN.UTF-8", LC_TIME = "en_US.UTF-8", LC_NAME = "en_US.UTF-8", LANG = "en_US" are supported and installed on your system. perl: warning: Falling back to the standard locale ("C").
通过一下设置,就可以解决这个问题啦
export LANG=en_US:zh_CN.UTF-8 export LC_ALL=C
标签:
原文地址:http://my.oschina.net/square0083/blog/503751