For display of the information in various systems and languages there is a decode table which is formed at start of the terminal.
Decode system have three levels.
The decode table accepted by default for first level is given below. < the Symbol at server> = < the Symbol at PC>
| 128=192 | 129=193 | 130=194 | 131=195 |
| 132=196 | 133=197 | 134=198 | 135=199 |
| 136=200 | 137=201 | 138=202 | 139=203 |
| 140=204 | 141=205 | 142=206 | 143=207 |
| 144=208 | 145=209 | 146=210 | 147=211 |
| 148=212 | 149=213 | 150=214 | 151=215 |
| 152=216 | 153=217 | 154=218 | 155=219 |
| 156=220 | 157=221 | 158=222 | 159=223 |
| 160=224 | 161=225 | 162=226 | 163=227 |
| 164=228 | 165=229 | 166=230 | 167=231 |
| 168=232 | 169=233 | 170=234 | 171=235 |
| 172=236 | 173=237 | 174=238 | 175=239 |
| 224=240 | 225=241 | 226=242 | 227=243 |
| 228=244 | 229=245 | 230=246 | 231=247 |
| 232=248 | 233=249 | 234=250 | 235=251 |
| 236=252 | 237=253 | 238=254 | 239=255 |
| 240=168 | 241=184 | 242=170 | 243=186 |
| 244=175 | 245=191 | 246=161 | 247=162 |
| 248=176 | 249=149 | 250=183 | 251=171 |
| 252=185 | 253=164 | 254=166 | 255=174 |
For level two and three default values are NULL, it means that no conversion will be made.
Code conversion setup dialog have six tabs. Two tabs per level.
Every list have four columns. You can change value by click on it in column "New value"
Value NULL means that this code is not lead byte and should be proccessed ordinary
through first level decode.
Using for automatic chars conversion according language specifics. There are four conversion methods : MultiByteToWideChar, LCMapString and combination of this methods. CodePage using for MultiByteToWideChar, others for LCMapString. Setting in example for conversion data from/to Simplified Chinese on server to Traditional Chinese on PC.
Decode table loading from file CODECO.TX. You can edit this file manualy. Also You can include this file into Your package.
Structure is following:
Src code, 1lev from server,1lev from PC, 2lev from server, 2lev from PC, 3lev from
server, 3lev from PC,
For example:
157,157,157,157,253,157,253
means that code 157 will convert to 253 from PC for Lead byte and secod byte.