CHARSET=<charset name>
Examples: CHARSET=US
CHARSET=LATIN1
(Windows only) CHARSET is used to specify the character set used by the application, per the table below. Note that the CHARSET options may be abbreviated to the characters shown in parentheses in the table, but they must be in upper case.
CHARSET |
Notes |
US |
(Default) Standard ASCII. |
UK |
British national replacement character set. The # or £ keys return ASCII character 35, and character 35 is always displayed as £. |
FRENCH (FR) |
French AZERTY |
GERMAN (GER) |
German |
PORTUGUESE (PORT) |
Portuguese |
SPANISH (SPA) |
Spanish |
SWISS |
Swiss |
ITALIAN (ITAL) |
Italian |
DANISH (DAN) |
Danish |
SWE-FIN |
Swedish/Fin |
LATIN1 |
Use 8 bit Latin1 characters. (All of the non-ASCII characters referenced above would need to be specified as 8 bit values in the range of 128-255.) Equivalent to OPTIONS=LATIN1. |
CHARSET is related to, but not the same, as the symbol set parameter on the FONT statement (which see). The font symbol set is mainly of internal significance to A-Shell, while the character set specified with CHARSET must match up with the way your application encodes non-ASCII characters. It is highly recommended that you use the 8 bit LATIN1 character set for displaying non-ASCII characters, rather than one of the 7 bit national replacement character sets, since Latin1 is much more portable and standard under Windows.
In order for any of the character set choices above, other than US and LATIN1, to be effective, you must specify the OEM symbol set in the FONT statement.
The CHARSET statement replaces the special terminal driver names previously used with the CONSOLE statement (which see) to specify national replacement character sets. That is, setting the terminal driver to PCUK (rather than PCTDV) has no effect; you must instead specify CHARSET=UK.