ubuntu deepin wechat中文乱码解决

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

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值