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
posted @ 2019-12-01 14:34  D·Kingson.Mo  阅读(187)  评论(0编辑  收藏  举报