WineHQ
Wine Forums

Board index » WineHQ » Wine Help




 Page 1 of 1 [ 2 posts ] 



 
Author Message
 Post Posted: Mon Jan 21, 2019 1:29 am 
Offline
Newbie
Newbie

Joined: Wed Dec 19, 2018 6:13 pm
Posts: 3
Hi all,
here is my question of the only problem that I face using WeChat under wine-4.0-rc5 (Staging) for Linux.
I can paste text in Chinese characters , but I cannot use the ibus input method to write messages in another language, only English. Strange note: If I paste Chinese characters in the text box, they display fine. However, if I type an English message, and paste a Chinese characters in the box, it displays each character as a "tofu" square or in a slightly different font.

I also think I have a good method of using WeChat that works pretty well with 2 small problems. The text entry as mentioned and the border shadows through all other windows unless it is minimized. I would like this post to be a troubleshooting and a place for me to show how to setup this program successfully with these 2 small caveats.

TLDR: I am looking for a way to write in a different language in a Wine environment under Linux. Thank you.


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=".


Attachments:
File comment: Copy pasting Chinese without any English letters.
eithout_eng.png
eithout_eng.png [ 6.04 KiB | Viewed 275 times ]
File comment: With English letter before copy pasting Chinese
with_eng_prefix.png
with_eng_prefix.png [ 4.43 KiB | Viewed 275 times ]
Top 
 Post Posted: Tue Jan 29, 2019 1:20 pm 
Offline
Level 6
Level 6
User avatar

Joined: Tue Nov 22, 2016 5:39 pm
Posts: 701
Don't you need an account to use that program? I don't have one.

Does ibus generally work under wine, e.g. in notepad?


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




Board index » WineHQ » Wine Help


Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 26 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: