WARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
Consider adding the following to ~/.profile:
export LANG=en_US.UTF-8
添加环境变量:
export LANG=en_US.UTF-8
查看当前变量:
echo $LANG
注意重启java服务,我用的是tomcat,需要重启tomcat才能生效。
操作环境变量:
sudo vi ~/.bash_profile
source ~/.bash_profile