问题描述
linux 系统语言切换到英文时,出现微信方块乱码
解决方法
在 linux 上安装微软雅黑即可解决
解决步骤
- 字体下载
git clone https://github.com/CroesusSo/msyh
cd msyh
unzip msyh.zip
unzip simsun.zip
- 创建 font 文件夹
sudo mkdir /usr/share/fonts/windows
sudo cp msyh.ttf simsun.ttf /usr/share/fonts/windows/
- 确认安装成功
fc-list :lang=zh
