WineHQ
Wine Forums

Board index » WineHQ » Wine Help




 Page 1 of 1 [ 3 posts ] 



 
Author Message
 Post subject: WeChat fonts problem.
 Post Posted: Wed Jun 20, 2018 7:11 am 
Offline
Level 2
Level 2

Joined: Mon Mar 03, 2008 9:22 am
Posts: 22
Hello, everyone.

I'm trying to run Windows WeChat on Linux.
I tried to do it according to the instructions on the AppDB page, and on a bare wine.

Still, the result is the same: either there are no i18n characters (i.e. Chinese, or Russian), or no text is displayed at all.

If I run it with a Chinese (zh_TW) locale, I get at least some of Chinese, and with (zh_CN) don't get even the 'tofu' marks.


Attachments:
wine1.png
wine1.png [ 3.49 KiB | Viewed 688 times ]
Top 
 Post Posted: Wed Jun 20, 2018 2:24 pm 
Offline
Level 6
Level 6
User avatar

Joined: Tue Nov 22, 2016 5:39 pm
Posts: 701
Did you already try installing fonts with winetricks? "winetricks corefonts" might help.


Top 
 Post Posted: Mon Jan 21, 2019 1:31 am 
Offline
Newbie
Newbie

Joined: Wed Dec 19, 2018 6:13 pm
Posts: 3
Lockywolf wrote:
Hello, everyone.

I'm trying to run Windows WeChat on Linux.
I tried to do it according to the instructions on the AppDB page, and on a bare wine.

Still, the result is the same: either there are no i18n characters (i.e. Chinese, or Russian), or no text is displayed at all.

If I run it with a Chinese (zh_TW) locale, I get at least some of Chinese, and with (zh_CN) don't get even the 'tofu' marks.

Do you still have this issue? I believe I have the solution.

Steps:
1. Download wechat installer exe from their website.
2. Setup clean wine prefix
2a. export WINEPREFIX="/home/<username>/.wineprefixes/wechat"
2b. mkdir -p /home//.wineprefixes/others
2c. export WINEARCH="win32"
2d. winetricks msls31 ole32 riched20 riched32
2e. install relevant fonts (corefonts cjkfonts mscorefonts noto-fonts-cjk) [im not sure which are necessary yet]
3. install wechat exe under the created wine prefix
4. Change locale to LC_ALL="zh_CN.UTF8"
5. Can use this command in the same terminal using the exported wineprefix we defined earlier
Code:
LC_ALL="zh_CN.UTF8" wine WeChat.exe

or you can add this to the .desktop file
Code:
Exec=env LC_ALL=zh_CN.UTF-8 WINEPREFIX="/home/<YOUR USERNAME>/.wineprefixes/wechat" /usr/bin/wine C:\\\\windows\\\\command\\\\start.exe /Unix /home/<YOUR USERNAME>/.wineprefixes/wechat/dosdevices/c:/users/Public/Desktop/WeChat.lnk
The only important part is setting the locale to Chinese using the LC_ALL setting in "Exec=".


Top 
Display posts from previous:  Sort by  
 
 Page 1 of 1 [ 3 posts ] 




Board index » WineHQ » Wine Help


Who is online

Users browsing this forum: Bing [Bot], pyblackout and 18 guests

 
 

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: