解决Linux下乱码

1,设置Xshell编码为utf8

2,修改~/.bash_profile,添加

export LANG=zh_CN.utf8

 执行命令

$source ~/.bash_profile

  解决~

原文地址:https://www.cnblogs.com/xiongji/p/3782786.html