The newly installed wine contains garbled Chinese characters. You need to modify several configuration files, find a detailed configuration description, and share it with you:
"Wine Chinese configuration Scheme
Steps:
1. Initial settings
Run winecfg and set the simulated Windows System to Windows XP or Windows 2000.
2. Prepare the font
To enable Windows Applications Program It looks more beautiful, so the font below Windows is required.
Since I have copied simsun. TTC to the/usr/share/fonts/Windows/directory. So I only need ~ /. Wine/drive_c/Windows/fonts/directory to create a symbolic connection for simsun. TTC:
Cd ~ /. Wine/drive_c/Windows/Fonts
Ln-S/usr/share/fonts/Windows/simsun. TTC simsun. TTC
Ln-S/usr/share/fonts/Windows/simsun. TTC simfang. TTC
Creating a simfang. TTC is the default simfang. TTC font for many Windows applications.
3. Modify ~ /. Wine/system. Reg
After the font is installed, modify the wine registry settings to specify the font-related settings:
Gedit ~ /. Wine/system. Reg
(You must use gedit or other editors that support gb2312/utf8 encoding to modify these files. Otherwise, Chinese characters in the files may be garbled)
Search: logpixels
The row should be: [System \ CurrentControlSet \ hardware profiles \ current \ Software \ fonts]
Replace the following:
"Logpixels" = DWORD: 00000060
Changed:
"Logpixels" = DWORD: 00000070
Search: fontsubstitutes
The row should be: [SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ fontsubstitutes]
Replace the following:
"Ms shell DLG" = "tahoma"
"Ms shell DLG 2" = "tahoma"
Changed:
"Ms shell DLG" = "simsun"
"Ms shell DLG 2" = "simsun"
4. Modify ~ /. Wine/drive_c/Windows/win. ini
Gedit ~ /. Wine/drive_c/Windows/win. ini
Add the following content to the end of the file:
[Desktop]
Menufontsize = 13
Messagefontsize = 13
Statusfontsize = 13
Icontitlesize = 13
5. the most critical step is that there are many Article Step not mentioned in -- Take the following Code Save as Zh. Reg and Run regedit Zh. Reg on the terminal. Copy simsun. TTC from the fonts in the Windows directory to/home/user/. Wine/drive_c/Windows/fonts.
Code:
Regedit4
[HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ fontsubstitutes]
"Arial" = "simsun"
"Arial ce, 238" = "simsun"
"Arial Cyr, 204" = "simsun"
"Arial Greek, 161" = "simsun"
"Arial Tur, 162" = "simsun"
"Courier New" = "simsun"
"Courier New ce, 238" = "simsun"
"Courier New Cyr, 204" = "simsun"
"Courier New Greek, 161" = "simsun"
"Courier New Tur, 162" = "simsun"
"Fixedsys" = "simsun"
"Helv" = "simsun"
"Helvetica" = "simsun"
"Ms sans serif" = "simsun"
"Ms shell DLG" = "simsun"
"Ms shell DLG 2" = "simsun"
"System" = "simsun"
"Tahoma" = "simsun"
"Times" = "simsun"
"Times New Roman ce, 238" = "simsun"
"Times New Roman Cyr, 204" = "simsun"
"Times New Roman Greek, 161" = "simsun"
"Times New Roman Tur, 162" = "simsun"
"TMS rmn" = "simsun"
After that, Chinese characters are displayed normally. Haha!
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.