Character conversion is performed using self-defined character tables. In the above example, character $C0 will be converted to $9C. Each table can be stored in a XCT file to reload it later. XVI32 comes with the following XCT files:
file name | used to convert from character set | to character set |
---|---|---|
DOSWIN.XCT | DOS codepage 850 | Windows codepage 1252 |
WINDOS.XCT | Windows codepage 1252 | DOS codepage 850 |
WINEBCUS.XCT | Windows codepage 1252 | EBCDIC US |
EBCUSWIN.XCT | EBCDIC US | Windows codepage 1252 |
WINEBCDE.XCT | Windows codepage 1252 | EBCDIC DE (Germany/Austria) |
EBCDEWIN.XCT | EBCDIC DE (Germany/Austria) | Windows codepage 1252 |
XCT files are plain text, so you can create them also using a text editor. Just write
for each character to convert a line with the hexadecimal character codes,
e.g. to replace character $80 by $C7:
80;C7