HowTo: CJK(Chinese, Japanese, Korean) in Wine Application
If you are installing CJK(Chinese, Japanese, Koean) application in ordinary fresh installed wine, you will see a lots of funny character instead of the one of the CJK which is readable. Follow the guide below to get your CJK application display properly in wine. Tested on Ubuntu Feisty and Hardy.
1. Open the terminal and execute the following
$sudo touch /var/lib/locales/supported.d/ja
$sudo touch /var/lib/locales/supported.d/kr
$sudo touch /var/lib/locales/supported.d/zh
2. Open each of the file that you have just created and paste in the line as below
[/var/lib/locales/supported.d/ja]
ja_JP.UTF-8 UTF-8
ja_JP SJIS
ja_JP.EUC-JP EUC-JP
[/var/lib/locales/supported.d/kr]
ko_KR.UTF-8 UTF-8
ko_KR.EUC-KR EUC-KR
[/var/lib/locales/supported.d/zh]
zh_CN.UTF-8 UTF-8
zh_TW.UTF-8 UTF-8
zh_CN GB2312
zh_CN.GBK GBK
zh_CN.GB18030 GB18030
zh_TW Big5
3. Execute the following in terminal
$ dpkg-reconfigure locales
4. Install true Chinese font
$ apt-get install ttf-arphic-ukai ttf-arphic-uming ttf-kochi-gothic ttf-kochi-mincho ttf-mikachan ttf-mona ttf-sazanami-gothic ttf-saxanami-mincho ttf-vlgothic ttf-alee ttf-arphic-ukai ttf-arphic-uming ttf-baekmuk ttf-unfonts ttf-arphic-bkai00mp ttf-arphic-bsmi00lp ttf-arphic-gbsn00lp ttf-arphic-gkai00mp ttf-arphic-ukai ttf-arphic-uming
5. Install Vera Sans YuanTi. By right we should download this tar file from Chinese Ubuntu Project site, but i just found out the link is dead and is hard to find this file in internet. But don’t worry i have uploaded one copy to my server. Follow the instrucstion below to get this step done.
$ wget http://www.warrence.com/resources/verasansyuanti.tar.gz
$ tar -vxzf verasansyuanti.tar.gz
$ mv verasansyuanti /usr/share/fonts
$ fc-cache -f
6. This step we will install ies4linux(Internet Explorer). After the installation of ies4linux, it will contain most of the major system DLLs. So what we do now is Install and run ies4linux and then copy the neccessary file to wine.
$ apt-get update
$ apt-get install cabextract wine
$ cd ~
$ wget http://www.tatanka.com.br/ies4linux/downloads/ies4linux-latest.tar.gz
$ tar zxpvf ies4linux-latest.tar.gz
$ cd ies4linux-*
$ ./ies4linux
$ ./ie6
7. After running Internet Explorer 6, close it and do the following.
The following execution will remove all wine App, you are require to install back those wine App after this guide.
$ rm -rf ~/.wine/*
$ cp -r ~/.ies4linux/ie6/* ~/.wine/
8. Install Winelocale
$ cd ~
$ wget http://www.cinnamonpirate.com/pub/software/sh/wineloc-0.41.tar.gz
$ tar zxpvf wineloc-0.41.tar.gz
$ cd wineloc-0.41
$ ./install
9. DONE! Now you can start your CJK Application like the example below
$ wineloc -l zh_CN /path/to/executable.exe
Comments
Leave a Reply

