vufa / deepin-wine-wechat-arch

Tencent WeChat on Deepin Wine(com.qq.weixin.deepin) For Archlinux
https://aur.archlinux.org/packages/deepin-wine-wechat/
1.13k stars 59 forks source link

微信输入框中输入中文文字显示异常 #129

Open stvsl opened 3 years ago

stvsl commented 3 years ago

微信输入框中输入中文文字显示异常,会显示一个空心小方块,像是字体乱码了,但是第一次使用的时候是正常的,这让人很头疼

vufa commented 3 years ago

编辑 /etc/locale.gen,取消zh_CN.UTF-8 前的注释,然后运行命令:

sudo locale-gen

再重启系统试试

zx4829468 commented 3 years ago

试过了 还是不行

zx4829468 commented 3 years ago

输入法是fcitx5

stvsl commented 3 years ago

编辑 /etc/locale.gen,取消zh_CN.UTF-8 前的注释,然后运行命令:

sudo locale-gen

再重启系统试试

已经是取消注释的状态了,但是还是那样子

wuzhidexiaoming commented 3 years ago

兄弟 解决了么

vufa commented 3 years ago

尝试删除 WINEPREFIX:

rm -rf ~/.deepinwine/Deepin-WeChat

再运行应用菜单中的微信图标重新安装试试

stvsl commented 3 years ago

尝试删除 WINEPREFIX:

rm -rf ~/.deepinwine/Deepin-WeChat

再运行应用菜单中的微信图标重新安装试试

Unhandled exception: page fault on read access to 0x6164206f in 32-bit code (0x6870abe9). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:6870abe9 ESP:0021ebe0 EBP:0021ec48 EFLAGS:00010246( R- -- I Z- -P- ) EAX:61642067 EBX:61642067 ECX:0021ec48 EDX:00000000 ESI:00000000 EDI:7b60e028 Stack dump: 0x0021ebe0: 00000000 0021ec00 0021ec98 0021ec10 0x0021ebf0: 00314900 7b6322b0 0021ec98 7b60e028 0x0021ec00: 6ca812c0 1e04005e 00000206 6871628c 0x0021ec10: 70bcacc0 00000000 00000000 6870cb9d 0x0021ec20: 68716280 0000003b 00000000 00000000 0x0021ec30: 00000000 00000000 00000000 00000000 Backtrace: =>0 0x6870abe9 EntryPoint+0xffffffff() in uxtheme (0x0021ec48) 1 0x6870cb9d EntryPoint+0xffffffff() in uxtheme (0x00000000) 2 0x68710653 EntryPoint+0xffffffff() in uxtheme (0x0021f128) 3 0x6871075a EntryPoint+0xffffffff() in uxtheme (0x0021f158) 4 0x687029c2 EntryPoint+0xffffffff() in uxtheme (0x0021f208) 5 0x6ed269eb EntryPoint+0xffffffff() in user32 (0x0021f248) 6 0x6edac84c EntryPoint+0xffffffff() in user32 (0x0021f288) 7 0x6edad017 EntryPoint+0xffffffff() in user32 (0x0000031a) 8 0x6edaf693 EntryPoint+0xffffffff() in user32 (0x6edb8638) 9 0x6ed5fa31 EntryPoint+0xffffffff() in user32 (0x00000000) 10 0x6ed652cc EntryPoint+0xffffffff() in user32 (0x00000001) 11 0x6ed65524 EntryPoint+0xffffffff() in user32 (0x0021f468) 12 0x68710896 EntryPoint+0xffffffff() in uxtheme (0x0021f4b8) 13 0x68702a25 EntryPoint+0xffffffff() in uxtheme (0x0021f568) 14 0x6ed269eb EntryPoint+0xffffffff() in user32 (0x0021f5a8) 15 0x6edac84c EntryPoint+0xffffffff() in user32 (0x0021f5e8) 16 0x6edad017 EntryPoint+0xffffffff() in user32 (0x00000002) 17 0x6edaf693 EntryPoint+0xffffffff() in user32 (0x6edb8638) 18 0x6ed5fa31 EntryPoint+0xffffffff() in user32 (0x00000000) 19 0x6ed652cc EntryPoint+0xffffffff() in user32 (0x00000001) 20 0x6ed65524 EntryPoint+0xffffffff() in user32 (0x0021f7c8) 21 0x6ed9d3d0 EntryPoint+0xffffffff() in user32 (0x0021f868) 22 0x6ed9f707 EntryPoint+0xffffffff() in user32 (0x0021f868) 23 0x00402d3b EntryPoint+0xffffffff() in wechatsetup-3.3.0.115 (0x0021f8fc) 24 0x004032ee EntryPoint+0xffffffff() in wechatsetup-3.3.0.115 (0x0040be90) 0x6870abe9 EntryPoint+0xffffffff in uxtheme: cmpw $0,0x8(%ebx) Modules: Module Address Debug info Name (23 modules) PE 400000- 467000 Export wechatsetup-3.3.0.115 PE 470000- 5d3000 Deferred comctl32 PE 10000000-10006000 Deferred system PE 61740000-61782000 Deferred advapi32 PE 62fc0000-6304f000 Deferred rpcrt4 PE 63480000-6348c000 Deferred version PE 63bc0000-63bd9000 Deferred shcore PE 64a40000-64a95000 Deferred shlwapi PE 68500000-6855b000 Deferred combase PE 68700000-6872f000 Dwarf uxtheme PE 6a400000-6a531000 Deferred ole32 PE 6bc00000-6bc2a000 Deferred sechost PE 6bcc0000-6bd40000 Deferred setupapi PE 6c9c0000-6cc53000 Deferred gdi32 PE 6d300000-6d308000 Deferred shfolder PE 6ed00000-6ef24000 Dwarf user32 PE 70b40000-70c1f000 Deferred ucrtbase PE 71200000-7121b000 Deferred imm32 PE 7b000000-7b0e8000 Deferred kernelbase PE 7b600000-7b81b000 Deferred kernel32 PE 7bc00000-7bc9c000 Deferred ntdll PE 7d7c0000-7d7c4000 Deferred winex11 PE 7de60000-7e737000 Deferred shell32 Threads: process tid prio (all id:s are in hex) 00000038 services.exe 0000003c 0 00000040 0 0000004c 0 00000084 0 000000a4 0 000000bc 0 00000108 0 00000044 winedevice.exe 00000048 0 00000054 0 00000058 0 0000005c 0 00000078 winedevice.exe 00000080 0 00000088 0 0000008c 0 00000090 0 00000094 0 00000098 0 0000009c plugplay.exe 000000a0 0 000000a8 0 000000ac 0 000000b0 0 000000b4 svchost.exe 000000b8 0 000000c0 0 000000c4 0 000000e0 (D) C:\Program Files\Tencent\WeChatSetup-3.3.0.115.exe 000000e4 0 <== 0000012c 0 000000e8 explorer.exe 000000ec 0 000000f4 0 000000f8 0 00000100 rpcss.exe 00000104 0 0000010c 0 00000110 0 00000114 0 00000118 0 0000011c 0 System information: Wine build: wine-6.13 Platform: i386 Version: Windows 7 Host system: Linux Host version: 5.13.4-arch1-1

直接都安装报错崩溃了

stvsl commented 3 years ago

尝试删除 WINEPREFIX:

rm -rf ~/.deepinwine/Deepin-WeChat

再运行应用菜单中的微信图标重新安装试试 我在com.qq.weixin.spark的aur页面上找到了这些,找到了这些,但是我已经无法打开我的微信了。。。

curled commented on 2021-05-18 03:44 感谢Gavin_Andre,我是kde平台下仅微信输入框部分字体为方框,将Noto Sans CJK SC Regular全部替换成Noto Sans CJK SC经验证有效。

pika02 commented on 2021-04-14 12:55 感谢@Gavin_Andre 的方法,我之前也困惑于框框问题,现在全正常了

Gavin_Andre commented on 2021-03-05 07:38 @SamLukeYes 知道为什么了,我将WenQuanYi Micro Hei字体删除了之后打开微信中文字体就都是方框了,将$HOME/.deepinwine/Spark-WeChat/user.reg文件中的Noto Sans CJK SC Regular全部替换成Noto Sans CJK SC就行了

stvsl commented 3 years ago

尝试删除 WINEPREFIX:

rm -rf ~/.deepinwine/Deepin-WeChat

再运行应用菜单中的微信图标重新安装试试

问题已解决,上面的那个方法可行,替换后问题已经消失,建议在readme文件内添加相关说明

stvsl commented 3 years ago

兄弟 解决了么

将~/.deepinwine/Spark-WeChat/user.reg文件中的Noto Sans CJK SC Regular全部替换成Noto Sans CJK SC就行了,可以用VSCode的查找替换功能替换,然后杀死微信进程或者重启就好了

wuzhidexiaoming commented 3 years ago

兄弟 解决了么

将~/.deepinwine/Spark-WeChat/user.reg文件中的Noto Sans CJK SC Regular全部替换成Noto Sans CJK SC就行了,可以用VSCode的查找替换功能替换,然后杀死微信进程或者重启就好了 我卸载重装之后好了

SShnoodles commented 3 years ago

我的方法: 可能系统缺少字体NotoSansCJ,下载解压后,安装Noto Sans CJK SC Regular此字体就可以解决乱码问题。

5t4r1i9ht commented 3 years ago

sudo pacman -S noto-fonts-cjk

kylepeng93 commented 2 years ago

我在manjaro上也遇到了类似的问题,输入框中中文显示为空心方块,但发送出去之后可以正常展示,网上找到的一个解决办法: 1.下载宋体字符集文件:https://www.freefonts.io/downloads/simsun/ 2.将解压后的文件复制如下路径:cp ~/Downloads/SIMSUN.ttf ~/.deepinwine/Deepin-WeChat/drive_c/windows/Fonts/ 重启微信即可解决。 希望对你有帮助

kgbook commented 2 years ago

尝试删除 WINEPREFIX:

rm -rf ~/.deepinwine/Deepin-WeChat

再运行应用菜单中的微信图标重新安装试试 我在com.qq.weixin.spark的aur页面上找到了这些,找到了这些,但是我已经无法打开我的微信了。。。

curled commented on 2021-05-18 03:44 感谢Gavin_Andre,我是kde平台下仅微信输入框部分字体为方框,将Noto Sans CJK SC Regular全部替换成Noto Sans CJK SC经验证有效。

pika02 commented on 2021-04-14 12:55 感谢@Gavin_Andre 的方法,我之前也困惑于框框问题,现在全正常了

Gavin_Andre commented on 2021-03-05 07:38 @SamLukeYes 知道为什么了,我将WenQuanYi Micro Hei字体删除了之后打开微信中文字体就都是方框了,将$HOME/.deepinwine/Spark-WeChat/user.reg文件中的Noto Sans CJK SC Regular全部替换成Noto Sans CJK SC就行了

Arch Linux + KDE 上使用微信, 出现无法输入中文以及中文字符为方框等问题, 根据你的方法顺利解决了。 感谢!

Delta-in-hub commented 2 years ago

我在manjaro上也遇到了类似的问题,输入框中中文显示为空心方块,但发送出去之后可以正常展示,网上找到的一个解决办法: 1.下载宋体字符集文件:https://www.freefonts.io/downloads/simsun/ 2.将解压后的文件复制如下路径:cp ~/Downloads/SIMSUN.ttf ~/.deepinwine/Deepin-WeChat/drive_c/windows/Fonts/ 重启微信即可解决。 希望对你有帮助

有效,感谢

kingcanfish commented 2 years ago

https://arch.icekylin.online/advanced/optional-cfg-1.html#%E5%AE%89%E8%A3%85-windows-%E5%AD%97%E4%BD%93 参考这个教程中 关于windows 字体安装的部分 我把windows字体全部安装后就好了 具体是哪个字体我也不太清楚

phyzhenli commented 2 years ago

我在manjaro上也遇到了类似的问题,输入框中中文显示为空心方块,但发送出去之后可以正常展示,网上找到的一个解决办法: 1.下载宋体字符集文件:https://www.freefonts.io/downloads/simsun/ 2.将解压后的文件复制如下路径:cp ~/Downloads/SIMSUN.ttf ~/.deepinwine/Deepin-WeChat/drive_c/windows/Fonts/ 重启微信即可解决。 希望对你有帮助

ubuntu20发来感谢信!

appdev commented 1 year ago

尝试删除 WINEPREFIX:

rm -rf ~/.deepinwine/Deepin-WeChat

再运行应用菜单中的微信图标重新安装试试 我在com.qq.weixin.spark的aur页面上找到了这些,找到了这些,但是我已经无法打开我的微信了。。。

curled commented on 2021-05-18 03:44 感谢Gavin_Andre,我是kde平台下仅微信输入框部分字体为方框,将Noto Sans CJK SC Regular全部替换成Noto Sans CJK SC经验证有效。

pika02 commented on 2021-04-14 12:55 感谢@Gavin_Andre 的方法,我之前也困惑于框框问题,现在全正常了

Gavin_Andre commented on 2021-03-05 07:38 @SamLukeYes 知道为什么了,我将WenQuanYi Micro Hei字体删除了之后打开微信中文字体就都是方框了,将$HOME/.deepinwine/Spark-WeChat/user.reg文件中的Noto Sans CJK SC Regular全部替换成Noto Sans CJK SC就行了

Arch Linux 发来感谢

bobby4k commented 5 months ago

解决字体显示为方块问题