Chinese in console cannot be display

Questions about Wine on Linux
Locked
wangyneos
Newbie
Newbie
Posts: 1
Joined: Wed Mar 04, 2020 8:49 pm

Chinese in console cannot be display

Post by wangyneos »

Hi
I have a Windows program that can display Chinese. The program has no GUI (text/console based). I tried to run it in Wine (running on Arch Linux) But all the Chinese characters printed are displayed as garbage that looks like "???".
I copied the all the .ttf fonts from my Windows machine and pasted them into ~/.wine/windows/Fonts but this didn't help either.
How can I solve this problem?
Thanks!
wine --version
wine-5.3
Baytars
Newbie
Newbie
Posts: 2
Joined: Fri Mar 06, 2020 1:01 am

Do you have SimSun font family

Post by Baytars »

It seems programs in Chinese uses SimSun font family as the default font family and installing this font can help solve garbage characters issue in QQ Music on Wine. Have you ever tried that?
If this does not work, use `winetricks allfonts` command to install all the fonts in Windows. Before that you have to install the `winetricks` program, a GUI program that assists in managing Wine Windows libraries and applications. Hopefully this helps.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Chinese in console cannot be display

Post by jkfloris »

Have you installed a Chinese locale?

Code: Select all

locale -a
Do you get Chinese characters if you start the command prompt with:

Code: Select all

LANG=zh_CN.utf8 wine cmd
Locked