deepin wechat 中文乱码解决方案 Ubuntu18.04

解决方案一、当Ubuntu18.04(Linux)为非中文状态时

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

将下载的字体解压,然后:

cp msyh.ttc ~/.deepinwine/Deepin-WeChat/drive_c/windows/Fonts
  • 2、修改系统注册表
gedit ~/.deepinwine/Deepin-WeChat/system.reg

更改以下两行内容为:

"MS Shell Dlg"="msyh"
"MS Shell Dlg 2"="msyh"
  • 3、字体注册
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"

注册

deepin-wine regedit msyh_config.reg
  • 21
    点赞
  • 41
    收藏
    觉得还不错? 一键收藏
  • 33
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 33
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值