Operating System - HP-UX
1822146 Members
4174 Online
109640 Solutions
New Discussion юеВ

UTF-8 support in emulation software !!!

 
Venky_1
Frequent Advisor

UTF-8 support in emulation software !!!

Hi Guys,

We have a HP-UX 11.00 server with UTF-8 packages already installed but would like to view the Asian characters when using vi editor and also the output which is sent to stdout should display the Asian characters properly.

In short, the requirement is to have the UTF-8 support in the emulation software ( e.g : XOnNet ).

Please suggest.

Thanks
Venky
Winners never quit and quitters never win
4 REPLIES 4
Hemanth Gurunath Basrur
Honored Contributor

Re: UTF-8 support in emulation software !!!

Hello Venky,

If you have a HP-UX 11.00 server with UTF-8 packages installed, that's great. But if you want to view Asian characters, you should also have the locales installed on your machine. For example, to view data in Japanese, you should have ja_JP.SJIS and ja_JP.eucJP locales installed. If you want to view data in Japanese, you should install zh-cn and zh-tw locales. You can contact your system administrator for more details. You can then issue the command, export $LANG=ja_JP.SJIS and you can view any application that supports Japanese or has been localized in Japanese or any other language.

Hope this helps.

Regards,
Hemanth
Hemanth Gurunath Basrur
Honored Contributor

Re: UTF-8 support in emulation software !!!

Hello Venky,

To view characters in Chinese, you should have the following locales installed on your machine, zh-cn and zh-tw. In my earlier response, I had mentioned as Japanese. Sorry!

Regards,
Hemanth

Venky_1
Frequent Advisor

Re: UTF-8 support in emulation software !!!

Hi Hemanth,

Your inputs are fine, if we don't want to use UTF-8 support but our requirment is to view the asian characters from the emulation software not from the server side and without using these locales , just by using UTF-8

We already have all these locales installed and in use also.

Thanks,
Venky.
Winners never quit and quitters never win
Hemanth Gurunath Basrur
Honored Contributor

Re: UTF-8 support in emulation software !!!

Hi Venky,

You require "without locale", but, you know, terminal emulator on X decides character encoding with the current locale. So the locale should be changed to display with UTF-8 encoding.

If you want to minimize impacts from the locale, you may want to invoke dtterm with the following procedure:

1. on dtterm,
$ LC_CTYPE=univ.utf8 dtterm &

2. on new dtterm window,
$ unset LC_CTYPE
$ eucset -C UTF8

If you need non-alpha-numeric font support, you should check the required fonts are placed in your font path which is listed by

$ xset -q

Hope this helps.

Please feel free if you would have any further questions.

Regards,
Hemanth