Ubuntu locale设置
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
解决方法:
1 sudo locale-gen "en_US.UTF-8" 2 sudo dpkg-reconfigure locales
查看/etc/default/local 文件内容是否同下,否则修改
1 LANG=en_US.UTF-8 2 LC_ALL=en_US.UTF-8
/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
解决方法:
1 sudo locale-gen "en_US.UTF-8" 2 sudo dpkg-reconfigure locales
查看/etc/default/local 文件内容是否同下,否则修改
1 LANG=en_US.UTF-8 2 LC_ALL=en_US.UTF-8