Each translation table is a script that indicates characters that will be replaced with other characters when they are either sent to or received from the host. Translation table files use the following syntax:
[DIM number] [NAME "table_name"] [DESC "table_description"] BEGIN 65=66 0x41=0x42 END
You can use either uppercase or lowercase for the commands (for example, NAME or Name), and either decimal or hexadecimal values for the characters. For example, you can express the letter Ç as 199 (decimal) or 0xC7(hexadecimal).
For a list of values that can be used in translation tables, see the topic ASCII Tables.
The following table provides detailed information about each command:
|DIM number||The length of the character strings being translated by this translation table; appears in the script for informational purposes only.
For example, if you are replacing one character with another, you could include the statement DIM 1.
|NAME "table_name"||A name for the translation table; appears in the script for information purposes only.
The table_name can be up to 31 characters long and can contain spaces. It must be enclosed in quotation marks (").
|DESC"table_description"||A description for the translation table; appears in the script for information purposes only.
The table_description can be up to 80 characters long and can contain spaces. It must be enclosed in quotation marks (").
|BEGIN||Marks the beginning of the character translation script.|
|character translation script||The lines between the BEGIN and END statements, indicating the characters to translate (for example, to translate A into B, you would type 65=66).
The values in this section of the translation table are reflexive. That is, when the host sends data to the client, the value to the right of the equal sign is converted into the value to the left of the equal sign. When the client sends data to the host, the value to the left of the equal sign is converted into the value to the right of the equal sign.
|END||Marks the end of the character translation script.|
Following is the content of the A-French.tbl translation table. Decimal numbers are used to represent characters (for example, 163 = 35). If it were written in hexadecimal format, it would read 0xA3 = 0x23, 0xA7 = 0x5D, and so on.
DIM 1 NAME "ASCII - French" DESC "ASCII - French" BEGIN 163 = 35 167 = 93 168 = 126 176 = 91 224 = 64 231 = 92 232 = 125 233 = 123 249 = 124 END
In this translation table, the following characters are exchanged.
||Is changed to
|Synapta Services Builder, Overview|
|Translation Tables, Overview|
|Creating or Editing a Translation Table|