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