| 1 |
const |
| 2 |
ISO2022CNCharLenTable: array [0..8] of uInt32 = (0, 0, 0, 0, 0, 0, 0, 0, 0); |
| 3 |
|
| 4 |
ISO2022CN_cls: array [AnsiChar] of Byte = ( |
| 5 |
2,0,0,0,0,0,0,0, // 00 - 07 |
| 6 |
0,0,0,0,0,0,0,0, // 08 - 0f |
| 7 |
0,0,0,0,0,0,0,0, // 10 - 17 |
| 8 |
0,0,0,1,0,0,0,0, // 18 - 1f |
| 9 |
0,0,0,0,0,0,0,0, // 20 - 27 |
| 10 |
0,3,0,0,0,0,0,0, // 28 - 2f |
| 11 |
0,0,0,0,0,0,0,0, // 30 - 37 |
| 12 |
0,0,0,0,0,0,0,0, // 38 - 3f |
| 13 |
0,0,0,4,0,0,0,0, // 40 - 47 |
| 14 |
0,0,0,0,0,0,0,0, // 48 - 4f |
| 15 |
0,0,0,0,0,0,0,0, // 50 - 57 |
| 16 |
0,0,0,0,0,0,0,0, // 58 - 5f |
| 17 |
0,0,0,0,0,0,0,0, // 60 - 67 |
| 18 |
0,0,0,0,0,0,0,0, // 68 - 6f |
| 19 |
0,0,0,0,0,0,0,0, // 70 - 77 |
| 20 |
0,0,0,0,0,0,0,0, // 78 - 7f |
| 21 |
2,2,2,2,2,2,2,2, // 80 - 87 |
| 22 |
2,2,2,2,2,2,2,2, // 88 - 8f |
| 23 |
2,2,2,2,2,2,2,2, // 90 - 97 |
| 24 |
2,2,2,2,2,2,2,2, // 98 - 9f |
| 25 |
2,2,2,2,2,2,2,2, // a0 - a7 |
| 26 |
2,2,2,2,2,2,2,2, // a8 - af |
| 27 |
2,2,2,2,2,2,2,2, // b0 - b7 |
| 28 |
2,2,2,2,2,2,2,2, // b8 - bf |
| 29 |
2,2,2,2,2,2,2,2, // c0 - c7 |
| 30 |
2,2,2,2,2,2,2,2, // c8 - cf |
| 31 |
2,2,2,2,2,2,2,2, // d0 - d7 |
| 32 |
2,2,2,2,2,2,2,2, // d8 - df |
| 33 |
2,2,2,2,2,2,2,2, // e0 - e7 |
| 34 |
2,2,2,2,2,2,2,2, // e8 - ef |
| 35 |
2,2,2,2,2,2,2,2, // f0 - f7 |
| 36 |
2,2,2,2,2,2,2,2 // f8 - ff |
| 37 |
); |
| 38 |
|
| 39 |
ISO2022CN_st: array [0..63] of Byte = ( |
| 40 |
Byte(eStart), 3,Byte(eError),Byte(eStart),Byte(eStart),Byte(eStart),Byte(eStart),Byte(eStart),//00-07 |
| 41 |
Byte(eStart),Byte(eError),Byte(eError),Byte(eError),Byte(eError),Byte(eError),Byte(eError),Byte(eError),//08-0f |
| 42 |
Byte(eError),Byte(eError),Byte(eItsMe),Byte(eItsMe),Byte(eItsMe),Byte(eItsMe),Byte(eItsMe),Byte(eItsMe),//10-17 |
| 43 |
Byte(eItsMe),Byte(eItsMe),Byte(eItsMe),Byte(eError),Byte(eError),Byte(eError), 4,Byte(eError),//18-1f |
| 44 |
Byte(eError),Byte(eError),Byte(eError),Byte(eItsMe),Byte(eError),Byte(eError),Byte(eError),Byte(eError),//20-27 |
| 45 |
5, 6,Byte(eError),Byte(eError),Byte(eError),Byte(eError),Byte(eError),Byte(eError),//28-2f |
| 46 |
Byte(eError),Byte(eError),Byte(eError),Byte(eItsMe),Byte(eError),Byte(eError),Byte(eError),Byte(eError),//30-37 |
| 47 |
Byte(eError),Byte(eError),Byte(eError),Byte(eError),Byte(eError),Byte(eItsMe),Byte(eError),Byte(eStart) //38-3f |
| 48 |
); |
| 49 |
|
| 50 |
ISO2022CNSMModel: SMModel = ( |
| 51 |
classTable: @ISO2022CN_cls; |
| 52 |
classFactor: 9; |
| 53 |
stateTable: @ISO2022CN_st; |
| 54 |
charLenTable: @ISO2022CNCharLenTable; |
| 55 |
CharsetID: ISO_2022_CN_CHARSET; |
| 56 |
); |