1838124 Members
3147 Online
110124 Solutions
New Discussion

Can't read chinese

 
SOLVED
Go to solution
peterchu
Super Advisor

Can't read chinese

We can't read the chinese word on UNIX.
we can't read the chinese characters ( all become unreadable words) , maybe it is caused by the language setting , do I need to install some fonts or change the language setting , could suggest how can I read chinese on the shell ? thx
5 REPLIES 5
YoungHwan, Ko
Valued Contributor
Solution

Re: Can't read chinese

If you didn't install Chinese Language,
install Chinese with Application Software CD1.
#swinstall -s /cdrom
select Language and install.

If you want Chinese for Default Language,
edit /etc/rc.config.d/LANG file

# vi /etc/rc.config.d/LANG
export LANG=zh_CN.gb18030
or
export LANG=zh_CN.hp15CN
peterchu
Super Advisor

Re: Can't read chinese

thx for help , I can read the chinese word on Netterm now.
I have one more requirement on it , my case is :
some files ( with chinese characters ) will be generated from the database then to be moved to other directory ( this directory is samba to a NT server ) and then print out , now I found that the print out still have problem to read chinese characters even I can read chinese on the unix shell , do I need to install the fonts or change any setting ? thx in advance.
peterchu
Super Advisor

Re: Can't read chinese

Do I need to set the default font as Chinese font? thx
Mei Jiao
Respected Contributor

Re: Can't read chinese

Do you mean you try to print from Unix and how to set it? Or you asking on print from NT?

There's a way to print in Chinese word from Unix. Just use the model script of PCL4.nloo or PCL5.nloo will do.

What do you mean by default font? I guess when we login, we need to login in the 'chinese' locale, for eg: from CDE, go to Options and choose the locale and login.
peterchu
Super Advisor

Re: Can't read chinese

thx reply,

What I want is to print from NT,
I guess that when the database generate the file to the shell , shell is not accept the chinese character as the locale or language setting is US ,

please ignore my word "default font" .

Thx in advance.