Windowed PM applications allow the code-page calls to use any of the supported ASCII code pages. These are:
┌──────────────────────┬───────────┬───────────┐ │ │Char. Set │Code Page │ ├──────────────────────┼───────────┼───────────┤ │Canadian-French │993 │863 │ ├──────────────────────┼───────────┼───────────┤ │Desktop Publishing │1146 │1004 │ ├──────────────────────┼───────────┼───────────┤ │Iceland │991 │861 │ ├──────────────────────┼───────────┼───────────┤ │Latin 1 Multilingual │980 │850 │ ├──────────────────────┼───────────┼───────────┤ │Latin 2 Multilingual │982 │852 │ ├──────────────────────┼───────────┼───────────┤ │Nordic │995 │865 │ ├──────────────────────┼───────────┼───────────┤ │Portuguese │990 │860 │ ├──────────────────────┼───────────┼───────────┤ │Turkey │987 │857 │ ├──────────────────────┼───────────┼───────────┤ │U.S. (IBM PC) │919 │437 │ └──────────────────────┴───────────┴───────────┘
Code page 1004 is compatible with Microsoft** Windows**.
The following EBCDIC code pages, based on character set 697, are also available for output:
┌──────────────────────┬───────────┬───────────┐ │ │Char. Set │Code Page │ ├──────────────────────┼───────────┼───────────┤ │Austrian/German │697 │273 │ ├──────────────────────┼───────────┼───────────┤ │Belgian │697 │500 │ ├──────────────────────┼───────────┼───────────┤ │Brazil │697 │037 │ ├──────────────────────┼───────────┼───────────┤ │Czechoslovakia │959 │870 │ ├──────────────────────┼───────────┼───────────┤ │Danish/Norwegian │697 │277 │ ├──────────────────────┼───────────┼───────────┤ │Finnish/Swedish │697 │278 │ ├──────────────────────┼───────────┼───────────┤ │French │697 │297 │ ├──────────────────────┼───────────┼───────────┤ │Hungary │959 │870 │ ├──────────────────────┼───────────┼───────────┤ │Iceland │697 │871 │ ├──────────────────────┼───────────┼───────────┤ │International │697 │500 │ ├──────────────────────┼───────────┼───────────┤ │Italian │697 │280 │ ├──────────────────────┼───────────┼───────────┤ │Poland │959 │870 │ ├──────────────────────┼───────────┼───────────┤ │Portuguese │697 │037 │ ├──────────────────────┼───────────┼───────────┤ │Spanish │697 │284 │ ├──────────────────────┼───────────┼───────────┤ │Turkey │1152 │1026 │ ├──────────────────────┼───────────┼───────────┤ │U.K.-English │697 │285 │ ├──────────────────────┼───────────┼───────────┤ │U.S.-English │697 │037 │ ├──────────────────────┼───────────┼───────────┤ │Yugoslavia │959 │870 │ └──────────────────────┴───────────┴───────────┘
Note: Code pages 274 (Belgian) and 282 (Portuguese) can be used to provide access to old data.
The operating system provides the following additional code-page setting and query calls for the supported ASCII and EBCDIC code pages. These calls work independently of the CONFIG.SYS file.
GpiSetCp
WinQueryCpList creates a list of code pages supported by the operating system.
Text entered in a dialog box is supplied to the application in the code page of the queue ("queue code page"). If possible, the code page of a resource (for example, a menu or dialog box) should match the code page of the queue. In general, code page 850 is the best choice for both an application and its resources.
Applications should be able to process data from a variety of sources. Because code page 850 contains most of the characters in other supported code pages, this is usually the best choice for the queue code page.