Operating System - HP-UX
1844292 Members
2855 Online
110230 Solutions
New Discussion

how to view the character-set used in my hpux system?

 
Merlin M.
Occasional Contributor

how to view the character-set used in my hpux system?

Hi,
All the masters here,

My mother language is Chinese, so Chinese character set is installed on my system with hpux.
But now, I want to ascertain which kind of Chinese character set is on my system.

How can I view this kind of info?

Thanks in advance.
self-promoting
3 REPLIES 3
Steffi Jones_1
Esteemed Contributor

Re: how to view the character-set used in my hpux system?

Hello Merlin,

a good first start would be to run the command

#env

That should give you the settings for your environment and the one you would be looking for is LANG= ...

A listing of the languages can be found here:
/usr/lib/nls/iconv/tables.1

And you can read more up on this topic in

/usr/lib/nls/README.nls.10.01

Steffi Jones
Philip Chan_1
Respected Contributor

Re: how to view the character-set used in my hpux system?

Hi,

The system wide language setting is stored in the file /etc/rc.config.d/LANG. If nothing being specified then the default would be "POSIX" (or "C", just the same thing). And the locales installed in your system can be listed by the command "locale -a", which should just show you all files under /usr/lib/nls/loc/locales.

For more details, see "man lang" and "man locale".
Merlin M.
Occasional Contributor

Re: how to view the character-set used in my hpux system?

Thank you for your help.
I have found character set in my system

:)
Bgs!
self-promoting