deepin wechat 中文乱码解决方案
方案一
执行以下命令打开文件
gedit /opt/deepinwine/tools/run.sh
找到WINE_CMD
修改为
WINE_CMD="LC_ALL=zh_CN.UTF-8 deepin-wine"
方案二 使用通用字体微软雅黑
注意:最好实行方案一后,再实行方案二,同时实行
1、修改字体
下载字体msyh.ttc
下载地址一:蓝奏云 (推荐)https://www.lanzous.com/i5wivmd
下载地址二:百度网盘 链接: https://pan.baidu.com/s/1rkjkmGJlpdaijCEWi7TZIw 提取码: btxw
2、解压字体,然后执行以下命令移动目录
cp msyh.ttc ~/.deepinwine/Deepin-WeChat/drive_c/windows/Fonts
3、修改系统注册表
gedit ~/.deepinwine/Deepin-WeChat/system.reg
更换以下两行内容
"MS Shell Dlg"="msyh"
"MS Shell Dlg 2"="msyh"
4、字体注册
gedit msyh_config.reg
在文件msyh_config.reg添加如下内容
REGEDIT4
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink]
"Lucida Sans Unicode"="msyh.ttc"
"Microsoft Sans Serif"="msyh.ttc"
"MS Sans Serif"="msyh.ttc"
"Tahoma"="msyh.ttc"
"Tahoma Bold"="msyhbd.ttc"
"msyh"="msyh.ttc"
"Arial"="msyh.ttc"
"Arial Black"="msyh.ttc"
5、注册
deepin-wine regedit msyh_config.reg
感谢
参考文章 https://blog.csdn.net/hymanjack/article/details/100168300