Operating System - HP-UX
1833711 Members
2663 Online
110063 Solutions
New Discussion

Re: Displaying Chinese characters

 
Joyce Prue
Occasional Advisor

Displaying Chinese characters

I have a situation where I need to display Simplified Chinese characters from an Xterm. I'm running HP-UX 11.11. I have LANG=zh_CN.hp15CN but neither ReflectionsX or Hummingbird's Exceed will display Chinese characters. It appears to be displaying 2 characters for each individual Chinese character. Is there some kind of double-byte swith that needs to be set?
4 REPLIES 4
Sajid_1
Honored Contributor

Re: Displaying Chinese characters

This document may help you:
http://support2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000058693896

Doc ID - KBRC00000147
learn unix ..
Joyce Prue
Occasional Advisor

Re: Displaying Chinese characters

I think I have the locale and fonts. I can run xfd -fn gb16st and see the proper characters. I don't need a keyboard because the characters are already out in an Oracle database. I just need to be able to display them. If I install this ASE stuff will it effect all the non-chinese stuff on my HP machine?
Reinhard Burger
Frequent Advisor

Re: Displaying Chinese characters

Dear Joyce

We have a system running where the ASE is installed together with the "normal" character sets.
Also there we store a mixture of chinese simplified and european characters in an ORACLE db. This is running without any problems. Logon to the unix box in X11 the guys just select which language they want to use. We have tested this and my colleuge was connected with the chinese environment during i was logged in using english language.
The system is running in this configurations since now more then a year without major problems.
There is one thing you have to be very carefully. Depending on how your application is reformatting data from the db there may be an impact if you apply patches to the shared library libc2. Trimming string may then remove first and last character from the string.
Apart from that we have not found any problems

keep it simple
Joyce Prue
Occasional Advisor

Re: Displaying Chinese characters

Thanks for your suggestions. I'm at a point where I was finally able to get my Xterm working. I can now display the Chinese characters. If I have further questions, I'll probably open another message specific to the next issue.