在环境变量文件.bash_profile添加如下代码:

export LC_ALL="zh_CN.GBK"
export LANG="zh_CN.GBK"

保存文件后,使用命令:source .bash_profile或者. .bash_profile生效环境变量

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-21
  • 2022-12-23
  • 2021-11-08
  • 2021-06-21
  • 2022-12-23
猜你喜欢
  • 2021-07-11
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-17
  • 2022-12-23
相关资源
相似解决方案