Operating System - HP-UX
1821051 Members
2857 Online
109631 Solutions
New Discussion

Checking the defaults character set in HP-UX

 
Kehad Snydewel
Frequent Advisor

Checking the defaults character set in HP-UX

Hi experts

How do I check the characters set in HP-UX. if it is US7ASCII etc.

Kind Regards
1 REPLY 1
Matti_Kurkela
Honored Contributor

Re: Checking the defaults character set in HP-UX

Checking how HP-UX understands the characters:
Use the command "locale" and see the LC_CTYPE setting. If it is "C", you're using default settings. In this case the best way is to assume US7ASCII only. Other values may define the character set explicitly: for example, my LC_CTYPE=fi_FI.utf8, which indicates that UTF-8 -encoded Unicode character set is in use.

Checking how the characters are displayed:
Examine the settings of your display device (terminal or terminal emulator) and make sure the terminal is set to match the locale settings. With X Window System, this means using fonts with the correct character encoding.

MK
MK