ディーピン、UOSインストールワイン

ワインをインストールする

root@kong:/# sudo apt install wine

中国語の文字化け処理
1.ダウンロード:simsun.ttcパスワード:4tgvリンク
2.コピー:cp simsun.ttc〜 / .wine / drive_c / windows / Fonts /
(ディレクトリなしで作成:mkdir -p〜 / .wine / drive_c / windows / Fonts)
3.作成:vimzh.regの内容は次のとおりです。

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"

4. regedit zh.regが
成功した場合、プロンプトは表示されません。初めて表示される場合は、次のようになります。

kong8@kong:~/.wine/drive_c/windows/Fonts$ regedit zh.reg 
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0012:err:ole:marshal_object couldn't get IPSFactory buffer for interface {
    
    6d5140c1-7436-11ce-8034-00aa006009fa}
0012:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0012:err:ole:CoMarshalInterface Failed to marshal the interface {
    
    6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0012:err:ole:get_local_server_stream Failed: 80004002
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {00000131-0000-0000-c000-000000000046}
0014:err:ole:marshal_object couldn't get IPSFactory buffer for interface {
    
    6d5140c1-7436-11ce-8034-00aa006009fa}
0014:err:ole:StdMarshalImpl_MarshalInterface Failed to create ifstub, hres=0x80004002
0014:err:ole:CoMarshalInterface Failed to marshal the interface {
    
    6d5140c1-7436-11ce-8034-00aa006009fa}, 80004002
0014:err:ole:get_local_server_stream Failed: 80004002
Could not load wine-gecko. HTML rendering will be disabled.
Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/home/kong8/.wine' has been updated.
kong8@kong:~/.wine/drive_c/windows/Fonts$ regedit zh.reg 
kong8@kong:~/.wine/drive_c/windows/Fonts$ regedit zh.reg 

5.winecfg構成を実行できます

おすすめ

転載: blog.csdn.net/qq_42476834/article/details/110728340