Overview |
Users in countries that do not use the US-Ascii character set, often end up with the problem that the codes of characters that are sent by the host do not match the codes used by the terminal program and/or operating system.
Using the Load and Save-As functions, you can create and manage
multiple translation tables which can be assigned to host directory entries
in the host directory's edit dialog.
Note: The translations are only active if the option to ignore them is not
enabled in the Options→Session Profile→Terminal.
Note: Before building a translation table, you should check if the
character codes used by your host are already supported as a character
set, see Options→Session Profile, Layout).
Case Study |
Let us assume your host sends (and needs to receive) the character '78 instead of the German letter Ä (as some hosts in Germany do) and that you have a keyboard that has a letter Ä key.
Let us also assume that ZOC is configured for the IBM/DOS character set (see, Options, Session Profile, Window). In this case ZOC generates the code 142 when you press the Ä key on the keyboard and will expect the code 142 to be received to display an Ä in the terminal window. (If ZOC is configured for Win/ANSI or running in VT220 mode, the same would apply to the code 196.)
However, instead of the expected 142 the host sends the code 123 (which ZOC knows as '78).
Hence, to make the two systems interact correctly, you will map the code 123 in the receive table to 142. To do this double click line 123 in the left part of the window and enter 142 in the field for the decimal code and click ok. 123 '78 -> 142 Ä will appear in the window. This will take care of codes that are received from the host. However, to correctly convert the code that ZOC sends when you press Ä, you will have to make an inverse mapping in the right table (double click 142 and change it into 123).
Here is a list of the common Umlauts and the code that ZOC uses, depending on the current configuration (Character Set setting in Window Options).
|
← Back to Keyboard, Character Translation, etc.