1.执行命令:vim /etc/profile 2.在文件最后添加两行 export LC_ALL="zh_CN.UTF-8" export LANG="zh_CN.UTF-8" 3.刷新文件 :source /etc/profile 4.查看系统编码方式: locale 相关文章: 2022-01-29 2021-12-09 2021-11-22 2022-01-17 2022-01-10 2022-01-10 2022-12-23