WineHQ

WeChat

No Screenshot

Submit Screenshot

有啥好description的,就最新版本嘛对吧

Application Details:

Version: 2.6.2.31
License: Free to use
URL: https://pc.weixin.qq.com
Votes: 0
Latest Rating: Gold
Latest Wine Version Tested: 3.14

Maintainers: About Maintainership

Free Download 在此页面下载的版本随时可能更新 This is not a stable link, and the page is in Chinese

Test Results

Old test results
The test results for this version are very old, and as such they may not represent the current state of Wine. Please consider submitting a new test report.
Selected Test Results

What works

  1. Sending and receiving messages 收发信息
  2. Download pictures in full scale 下载原图
  3. Adding new friends via group 添加好友
  4. Screenshot functions (only works in Wechat, cannot switch to other software) 截图功能 (只在微信界面可以用)

What does not

Chinese character massing up if in English system locale

若系统locale为英文,中文乱码

Workarounds

If your system is in English, or any language other than Chinese, please add these codes to the properties of the desktop link.

若你的系统不是中文界面,请添加以下代码至桌面的wehcat的属性栏:


LC_ALL=zh_CN.UTF-8



What was not tested

Favourite function

Hardware tested

Graphics:

  • GPU: Intel
  • Driver: proprietary

Additional Comments

selected in Test Results table below
Operating systemTest dateWine versionInstalls?Runs?Used
Workaround?
RatingSubmitter
CurrentUbuntu 18.04 "Bionic" amd64 (+variants like Kubuntu)Aug 27 20183.14Yes Yes YesGoldDavid Zhou 
ShowFedora 27 x86_64Apr 06 20183.5Yes Yes NoPlatinumXU Guang-zhao 

Known Bugs

Bug # Description Status Resolution Other apps affected
13829 Wine does not have CJK fonts STAGED View
45670 WeChat requires explicitly setting locale for Chinese to be displayed. UNCONFIRMED View

Show all bugs

HowTo / Notes

为啥要设LC_ALL

Wine的语言跟随LC_ALL和LANG,但微信在英文Wine环境下中文联系人显示不出来。另外Wine的输入法模块底层是xim,底层实现做了一次UTF-8到UTF-16的转换,如果当前locale里面没有UTF-8的话(Docker镜像默认locale是POSIX)转换是会失败的(没有默认的CP_UNIXCP代码页),因此需要手动设置

Please translate it by yourself from Chinese because I am lazy

Comments

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

It works
by Mucahit Senol on Monday February 18th 2019, 9:18
Thanks it works
Working method for me on arch linux
by 迈克 on Monday January 21st 2019, 16:26
Steps:
1. Download wechat installer exe from their website.
2. Setup clean wine prefix
2a. export WINEPREFIX="/home//.wineprefixes/wechat"
2b. mkdir -p /home//.wineprefixes/others
2c. export WINEARCH="win32"
2d. winetricks msls31 ole32 riched20 riched32 [riched32 may not be necessary]
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: LC_ALL="zh_CN.UTF8" wine WeChat.exe

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 am looking for a way to write in a different language in a Wine environment under Linux.

See my thread: forum.winehq.org/viewtopic.php?f=2&t=31866&e=0&sid=05fcc6ecee1a32a1d1a0022379fa336a
Solution: Wechat text not displayed
by David Zhou on Wednesday November 14th 2018, 19:00
If you find your wechat cannot display text in dialoge box, then you either fail to use a WIN32 version wine or didn't override riched20.dll.

Step ONE: Make sure to use a CLEAN WIN32 wineprefix.

1. export WINEPREFIX="/home//.wineprefixes/wechat"
2. mkdir -p /home//.wineprefixes/others
3. export WINEARCH="win32"

STEP TWO: add components:
winetricks msls31 ole32 riched20

STEP THREE:
install wechat
RE: Solution: Wechat text not displayed
by Mucahit Senol on Monday February 18th 2019, 9:19
thanks it works
Input Text Invisible
by Suleman Hasib on Friday August 31st 2018, 0:16
When I type to enter text it doesn't show. Although its being typed.

wine-3.0 (Ubuntu 3.0-1ubuntu1)

Distributor ID: Ubuntu
Description: Ubuntu 18.04.1 LTS
Release: 18.04
Codename: bionic

LANG=en_US.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8
RE: Input Text Invisible
by XU Guang-zhao on Sunday September 2nd 2018, 4:19
Do you have riched20 overridden by winetricks?
RE: Input Text Invisible
by Suleman Hasib on Tuesday September 25th 2018, 22:02
No.

Although After your comment I tried overriding it with following results:

- native, builtin ==> WeChat Works but invisible Text in Composing area
- builtin, native ==> Same as above
- builtin ==> Same as above
- native ==> WeChat Crashes after login and return backs to login window.
RE: Input Text Invisible
by XU Guang-zhao on Wednesday September 26th 2018, 21:29
That's weird. What is your WeChat version?
RE: Input Text Invisible
by Suleman Hasib on Wednesday September 26th 2018, 22:44
WeChat Version: 2.6.4.38
RE: Input Text Invisible
by XU Guang-zhao on Thursday September 27th 2018, 3:14
Well, my WeChat auto-upgraded to that version and it is all OK. Perhaps you need to override more riched*.dll files and trying them out?
RE: Input Text Invisible
by Suleman Hasib on Friday September 28th 2018, 0:25
WeChat Version: 2.6.4.56

Tried riched20.dll and riched32.dll with different settings; none worked.

on setting `riched20.dll` to `native` following error is logged in terminal:

[0928/072811:ERROR:network_change_notifier_win.cc(158)] WSALookupServiceBegin failed with: 8
0009:err:module:find_forwarded_export module not found for forward 'riched20.CreateTextServices' used by L"C:\\windows\\system32\\msftedit.dll"
RE: Input Text Invisible
by XU Guang-zhao on Sunday September 30th 2018, 9:26
I remembered that my Wine version is still 3.9 and I have not upgraded it for a long time; I don't know whether this is the reason
RE: Input Text Invisible
by Suleman Hasib on Wednesday October 3rd 2018, 2:06
Issue fixed I used winetricks and installed riched20.dll
RE: Input Text Invisible
by Kent Tong on Monday October 22nd 2018, 1:46
I am facing exactly the same problem with winehq-staging 3.18 with WeChat 2.6.4.56.

First, winetricks is now unable to install riched20.dll probably because the file W2KSP4_EN.EXE is no longer available.

But I have Windows 7, so I can copy riched20.dll to wine, but actually wine already comes with it: the riched20.dll in wine's windows/system32 is exactly the same as the copy in Windows 7. Does it mean that I need riched20.dll from somewhere else? The size of mine is 65580. What's yours?
RE: Input Text Invisible
by Kent Tong on Monday October 22nd 2018, 2:27
Fixed it! I was using the winetricks provided by ubuntu. After installing the latest version from its website, it can download riched20.dll and install it properly and then everything works fine.

by anonymous on Sunday August 19th 2018, 2:00
All right, disregard my docker questions. The problem got solved by copying Windows 7 fonts to the drive_c\windows\fonts directory.

However, there seems to be a problem somewhere, as the bug discussion I posted a link to essentially says that wine should be able to pick up WenQuanYi ZenHei as a default Chinese font, but for some reason doesn't.

Anyway, the problem is now solved for me.
What is /path/to/microsoft/fonts in your docker run command?
by anonymous on Thursday August 16th 2018, 21:16
I don't understand where to get them.
Can't you install microsoft core fonts right into the container with winetrincks?
RE: What is /path/to/microsoft/fonts in your docker run command?
by XU Guang-zhao on Thursday August 16th 2018, 21:32
They are proprietary and it is illegal to post a publicly available download site for those fonts. One way to get them is to copy those from a genuine Windows copy. However, if you do not frequently use Chinese the fonts won't be a real issue.
RE: What is /path/to/microsoft/fonts in your docker run command?
by anonymous on Thursday August 16th 2018, 21:40
Are you sure the corefonts package is not enough?

Also, could you post a full docker build command, because my docker doesn't create an image called 'wine', is just gives a random hash name.
RE: What is /path/to/microsoft/fonts in your docker run command?
by anonymous on Thursday August 16th 2018, 21:43
$ docker build -f WeChat.Dockerfile .
Sending build context to Docker daemon 2.56kB
Step 1/4 : FROM fedora:27
---> 9110ae7f579f
Step 2/4 : RUN useradd -U -m user; curl -o /etc/yum.repos.d/winehq.repo dl.winehq.org/wine-builds/fedora/27/winehq.repo; dnf install -y winehq-devel $(dnf repoquery -q --requires winetricks | grep -v ^wine) glx-utils mesa-dri-drivers.x86_64 mesa-dri-drivers.i686 /usr/bin/ntlm_auth glibc-langpack-zh langpacks-zh_CN; dnf clean all; curl -vLo /usr/local/bin/winetricks raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks; chmod +x /usr/local/bin/winetricks; mkdir -p /opt/wine-devel/share/wine/mono /opt/wine-devel/share/wine/gecko; cd /opt/wine-devel/share/wine/mono; curl -vLOJ dl.winehq.org/wine/wine-mono/4.7.1/wine-mono-4.7.1.msi; cd /opt/wine-devel/share/wine/gecko; curl -vLOJ dl.winehq.org/wine/wine-gecko/2.47/wine_gecko-2.47-x86_64.msi; curl -vLOJ dl.winehq.org/wine/wine-gecko/2.47/wine_gecko-2.47-x86.msi
---> Using cache
---> c479a24b5b6a
Step 3/4 : USER user
---> Using cache
---> 1327c6bcff4b
Step 4/4 : WORKDIR /home/user
---> Using cache
---> a363de9df2a6
Successfully built a363de9df2a6

$ docker run --rm -it -v /tmp/.X11-unix/X0:/tmp/.X11-unix/X0 --device=/dev/dri --security-opt="no-new-privileges" --ipc=host --env WINEARCH=win32 --env DISPLAY=:0 --env XMODIFIERS=@im=scim --env LANG=zh_CN --env LC_ALL=zh_CN.UTF-8 a363de9df2a6 bash
bash: warning: setlocale: LC_ALL: cannot change locale (zh_CN.UTF-8)
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (zh_CN.UTF-8)
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (zh_CN.UTF-8)
[ user@7d6265e8e12f ~]$ echo $LC_ALL
zh_CN.UTF-8
[ user@7d6265e8e12f ~]$ winetricks winxp riched20 ole32
/bin/sh: warning: setlocale: LC_ALL: cannot change locale (zh_CN.UTF-8)
------------------------------------------------------
wineserver not found!
------------------------------------------------------
[ user@7d6265e8e12f ~]$ wine WechatSetup.exe
bash: wine: command not found
RE: What is /path/to/microsoft/fonts in your docker run command?
by XU Guang-zhao on Thursday August 16th 2018, 23:32
Can you replace all semicolons after the RUN command with && and post your log here? I suggest that the dnf command failed

You may also run docker run --rm --user 0 -it a363de9df2a6 dnf history info 2 and post the output here
RE: What is /path/to/microsoft/fonts in your docker run command?
by XU Guang-zhao on Thursday August 16th 2018, 23:27
The corefonts does not contain any Chinese fonts, which are essential for me.

Use docker build -t wine . to tag an image. Search "tagged as wine" in my extra comments section
Fonts are broken
by anonymous on Sunday June 17th 2018, 2:50
So, for me Wechat runs, I'm able to type messages and receive messages, but if I run it with LC_ALL=C, I see no Chinese and Russian fonts. If I run it with LC_ALL=ru_RU, I cannot see Chinese. If I run it with LC_ALL=zh_TW, I see some Chinese but not all, and also no Russian. If I run it as LC_ALL=zh_CN, I don't see anything. Literally, not even 'tofu boxes', just completely empty spaces.
RE: Fonts are broken
by XU Guang-zhao on Sunday June 17th 2018, 6:34
What is the language of your host system, Russian? My messages are all in Simplified Chinese and LC_ALL=zh_CN works for me

There ARE actually some scenarios when some characters cannot be displayed correctly, but it is rare. By the way, I copied all fonts from my Windows installation to my Linux box
RE: Fonts are broken
by anonymous on Saturday June 30th 2018, 0:36
No, the LANG is en_US.UTF-8, and LC_COLLATE=C.

I feel that the problem is somewhere in /etc/fonts/*

I also installed webcore-fonts globally and with winetricks.

Could you post your /etc/fonts/* as an archive somewhere?
RE: Fonts are broken
by XU Guang-zhao on Saturday June 30th 2018, 1:15
OK, just run `docker run --rm -it fedora:27 bash` and you can browse the filesystem under that container, including `/etc/fonts`. No modification has been made by me
Thanks!
by Mark Chandler on Thursday April 12th 2018, 0:39
I've used these instructions as a basis for a method to install WeChat into an F27 VM.
谢谢你
Back