命令行中出现乱码修复

  • Post author:
  • Post last modified:2021-01-16
  • Post category:网络人生
  • Post comments:0评论

乱码通常是语言和字符集的问题,因此主要相应设置即可

dpkg-reconfigure locales

export LANG=en_us.utf8
#或者
export LANG=zh_cn.utf8

发表评论