General Description
As delivered, the emulator is configured for the Swedish character set in 3270 or 5250 mode (Codepage 278), and in ANSI mode it uses the DEC Multinational character set (ISO/IEC 8859-1 Latin 1).
ANSI Mode
ANSI characters from the wire are converted to Unicode using the ansi2uni.map table before being stored in the screen buffer for subsequent display. Characters entered via keyboard are translated using the uni2ansi.map table before they are put on the wire.
3270 or 5250 Mode
Input from the keyboard is converted to EBCDIC using the uni2ebc.map table before being put into the buffer. All characters in the buffer (whether they came from the host or from the keyboard) are converted from EBCDIC to Unicode using the ebc2uni.map table before being displayed on the screen.
You can change the default character mapping via one of the four mapping files:
| Filename | Mapping function |
| uni2ebc.map | Unicode (from keyboard) to EBCDIC (in buffer) mapping. |
| ebc2uni.map | EBCDIC (in buffer) to Unicode (screen) mapping. |
| uni2ansi.map | Unicode to ANSI (VT220 Multinational) mapping. |
| ansi2uni.map | ANSI (VT220 Multinational) to Unicode mapping. |
If any of these files exist, it will be used to change the default character mapping for the characters defined in that file. Only the characters defined in that file are changed from it’s default mapping.