解决方法:
# 查看系统编码 btpython -c "import sys; print(sys.stdout.encoding)"
# 开始修改编码 locale-gen en_US.UTF-8
# EOF开始到EOF结束是一条命令,直接复制 cat << EOF > /etc/default/locale LANG="en_US.UTF-8" LANGUAGE="en_US.UTF-8:" EOF
# 编辑/etc/bash.bashrc,将下面两个配置加文件最后 export LANG="en_US.UTF-8" export LANGUAGE="en_US.UTF-8:"
source /etc/bash.bashrc