在 wine 中使用微信中文乱码

好吧我知道这个可能是老生常谈了,但是我现在在 wine 中使用微信还是无法显示中文。

系统:openSUSE Tumbleweed

目前关于这个问题我所做的尝试:

  • 下载 simsun.ttc~/.wine/drive_c/windows/Fonts
  • 创建了一份注册表文件:
"Arial"="simsun.ttc"
"Arial Black"="simsun.ttc"
"Arial"="simsun.ttc"
"Arial Black"="simsun.ttc"
"Lucida Sans Unicode"="simsun.ttc"
"Meiryo"="simsun.ttc"
"Meiryo Bold"="simsun.ttc"
"Meiryo UI"="simsun.ttc"
"Meiryo UI Bold"="simsun.ttc"
"Microsoft JhengHei"="simsun.ttc"
"Microsoft JhengHei Bold"="simsun.ttc"
"Microsoft JhengHei UI"="simsun.ttc"
"Microsoft JhengHei UI Bold"="simsun.ttc"
"Microsoft JhengHei UI Light"="simsun.ttc"
"Microsoft Sans Serif"="simsun.ttc"
"MingLiU"="simsun.ttc"
"MingLiU-ExtB"="simsun.ttc"
"MingLiU_HKSCS"="simsun.ttc"
"MingLiU_HKSCS-ExtB"="simsun.ttc"
"MS Gothic"="simsun.ttc"
"MS Mincho"="simsun.ttc"
"MS PGothic"="simsun.ttc"
"MS PMincho"="simsun.ttc"
"MS Sans Serif"="simsun.ttc"
"MS UI Gothic"="simsun.ttc"
"PMingLiU"="simsun.ttc"
"PMingLiU-ExtB"="simsun.ttc"
"SimSun"="simsun.ttc"
"Tahoma"="simsun.ttc"
"Tahoma Bold"="simsun.ttc"
"Yu Gothic UI"="simsun.ttc"
"Yu Gothic UI Bold"="simsun.ttc"
"Yu Gothic UI Light"="simsun.ttc"
"Yu Gothic UI Semibold"="simsun.ttc"
"Yu Gothic UI Semilight"="simsun.ttc"
  • 运行wine regedit,将上述.reg文件导入

按说这个操作应该没啥问题,执行完这一步之后,wine regeditwine explorer都能够给正常显示中文了,但是微信还是不行,请问有无办法解决?

来个截图?

抱歉这几天忙忘记了,如图是现在的情况,左边是注册表,中文显示正常,右侧是微信,中文乱码

是我没见过的地方。不过原因确实应该是缺字。
你的 locale 不是 zh_CN?

>>> locale
LANG=zh_CN.UTF-8
LC_CTYPE=zh_CN.UTF-8
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8"
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER="zh_CN.UTF-8"
LC_NAME="zh_CN.UTF-8"
LC_ADDRESS="zh_CN.UTF-8"
LC_TELEPHONE="zh_CN.UTF-8"
LC_MEASUREMENT="zh_CN.UTF-8"
LC_IDENTIFICATION="zh_CN.UTF-8"
LC_ALL=

zh_CN 诶……好奇怪

时隔多天,我回来了。此前往 WINEPREFIX/drive_c/Windows/Fonts 下添加字体的方法并不可行,但是当我将一份 msyh.ttc 添加到 /usr/share/fonts 中后,微信就可以正常显示字体了

2赞

本主题在最后一个回复创建后60分钟后自动锁定。不再允许添加新回复。