解決方案一、當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