To determine the code page of a character terminal, do one of the following:
Read the terminal's documentation.
Use the terminal's setup screens. Many terminals have setup screens that let you view or modify the code page.
Both of these options have one drawback. If your operating system contains device drivers that perform code-page conversions, they might convert the code page from that of the operating system to a new one. If this occurs, OpenEdge does not see the code page of the operating system, but rather the new one. You must determine which code page OpenEdge actually sees.
To determine which code page OpenEdge actually sees:
1. Start OpenEdge with -cpinternal set to undefined and set the TERM environment variable to disable PROTERMCAP IN/OUT mapping.
3. Press several keys, including keys that correspond to the 8-bit extended characters. For each keystroke, OpenEdge displays the 8-bit numeric value received for that key and echoes the character back to the terminal. If the character does not echo properly, your system is configured incorrectly. If the character does echo properly, the numeric value OpenEdge displays is the 8-bit value for that character.
4. Once you have several such pairs of characters and numbers, compare them against likely code pages to determine the correct code page.