| 1 |
const |
| 2 |
UCS2LECharLenTable: array [0..5] of uInt32 = (2, 2, 2, 2, 2, 2); |
| 3 |
|
| 4 |
UCS2LE_cls: array [AnsiChar] of Byte = ( |
| 5 |
0,0,0,0,0,0,0,0, // 00 - 07 //allow 0x00 as a legal value |
| 6 |
0,0,1,0,0,2,0,0, // 08 - 0f |
| 7 |
0,0,0,0,0,0,0,0, // 10 - 17 |
| 8 |
0,0,0,3,0,0,0,0, // 18 - 1f |
| 9 |
0,0,0,0,0,0,0,0, // 20 - 27 |
| 10 |
0,3,3,3,3,3,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,0,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 |
0,0,0,0,0,0,0,0, // 80 - 87 |
| 22 |
0,0,0,0,0,0,0,0, // 88 - 8f |
| 23 |
0,0,0,0,0,0,0,0, // 90 - 97 |
| 24 |
0,0,0,0,0,0,0,0, // 98 - 9f |
| 25 |
0,0,0,0,0,0,0,0, // a0 - a7 |
| 26 |
0,0,0,0,0,0,0,0, // a8 - af |
| 27 |
0,0,0,0,0,0,0,0, // b0 - b7 |
| 28 |
0,0,0,0,0,0,0,0, // b8 - bf |
| 29 |
0,0,0,0,0,0,0,0, // c0 - c7 |
| 30 |
0,0,0,0,0,0,0,0, // c8 - cf |
| 31 |
0,0,0,0,0,0,0,0, // d0 - d7 |
| 32 |
0,0,0,0,0,0,0,0, // d8 - df |
| 33 |
0,0,0,0,0,0,0,0, // e0 - e7 |
| 34 |
0,0,0,0,0,0,0,0, // e8 - ef |
| 35 |
0,0,0,0,0,0,0,0, // f0 - f7 |
| 36 |
0,0,0,0,0,0,4,5 // f8 - ff |
| 37 |
); |
| 38 |
|
| 39 |
UCS2LE_st: array [0..55] of Byte = ( |
| 40 |
6, 6, 7, 6, 4, 3,integer(eError),integer(eError),//00-07 |
| 41 |
integer(eError),integer(eError),integer(eError),integer(eError),integer(eItsMe),integer(eItsMe),integer(eItsMe),integer(eItsMe),//08-0f |
| 42 |
integer(eItsMe),integer(eItsMe), 5, 5, 5,integer(eError),integer(eItsMe),integer(eError),//10-17 |
| 43 |
5, 5, 5,integer(eError), 5,integer(eError), 6, 6,//18-1f |
| 44 |
7, 6, 8, 8, 5, 5, 5,integer(eError),//20-27 |
| 45 |
5, 5, 5,integer(eError),integer(eError),integer(eError), 5, 5,//28-2f |
| 46 |
5, 5, 5,integer(eError), 5,integer(eError),integer(eStart),integer(eStart) //30-37 |
| 47 |
); |
| 48 |
|
| 49 |
UCS2LELangModel: SMModel = ( |
| 50 |
classTable: @UCS2LE_cls; |
| 51 |
classFactor: 6; |
| 52 |
stateTable: @UCS2LE_st; |
| 53 |
charLenTable: @UCS2LECharLenTable; |
| 54 |
CharsetID: UTF16_LE_CHARSET; |
| 55 |
); |
| 56 |
|
| 57 |
|
| 58 |
|