Operating System - HP-UX
1830700 Members
2706 Online
110015 Solutions
New Discussion

Re: Codepage on a HP-UX Server

 
SOLVED
Go to solution
Thamm
Occasional Advisor

Codepage on a HP-UX Server

Hello,

ist there something like a codepage on a HP-UX 11.00 System? How do I find out, which codepage is used and how do I change it if possible?

Background: The SAP-application on this server has problems with special german charaters (Umlaute).

Stefan
3 REPLIES 3
Ralph Grothe
Honored Contributor

Re: Codepage on a HP-UX Server

Maybe

locale -a

or

locale -m

will do?
Madness, thy name is system administration
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Codepage on a HP-UX Server

There is no direct equivalent in UNIX because the display device (e.g. terminal or emulator) is completely separated from the host -- unlike a PC. For example, the host simply sends a stream of bytes (e.g. 0x41) and it is up to the display device to do with it what it will. UNIX addresses these issues with an environment setting. Man 5 lang, man 5 environ, and man locale for details. Bear in mind that different users might view exactly the same data with different results depending upon their individual LANG settings. UNIX handles this; it just does so in a different way but not all character sets are supported on all terminals, for example.
If it ain't broke, I can fix that.
Clay Jordan
Advisor

Re: Codepage on a HP-UX Server

By default, HP-UX strips the eigth bit of of characters, meaning the upper 128 chars will not display correctly. These are the western European characters for the most part. To get them to display ( or to be entered with either the correct keyboard or ALT code ), you need to add "stty -istrip" to your profile. You also need to make sure your terminal emulation software does not do this either. With SecureCRT for example, it is an option.