Update contrib.
1 // Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // e32\euser\unicode\foldtable.inl
15 // Use the bits from 12 up from your character to index CaseFoldTable0.
16 // Use the result of this plus bits 8-11 to index CaseFoldTable1.
17 // Use the result of this plus bits 4-7 to index CaseFoldTable2.
18 // Use the result of this plus bits 0-3 to index CaseFoldTable3.
19 // Add the result of this to your character to fold it.
23 static const short CaseFoldTable3[] =
25 0, 0, 0, 0, 0, 0, 0, 0,
26 0, 0, 0, 0, 0, 0, 0, 0,
27 32, 32, 32, 32, 32, 32, 32, 32,
28 32, 32, 32, 32, 32, 32, 32, 0,
29 0, 0, 0, 0, -128, 0, 0, 0,
30 0, 0, 0, 0, 0, 0, 0, 0,
31 0, 0, 0, 0, 775, 0, 0, 0,
32 0, 0, 0, 0, 0, 0, 0, 32,
33 0, 0, 0, 0, 0, 0, 0, 0,
34 0, 32, 0, 0, 0, 0, 0, 0,
35 0, 32, 0, 0, 0, 0, 0, 32,
36 0, 1, 0, 0, 0, 0, 0, 0,
37 0, 0, 0, 0, 0, 0, 0, 0,
38 0, 1, 0, 0, 0, 0, 0, 0,
39 0, 0, 0, -200, 1, 0, 0, 0,
40 0, 0, 0, 0, 0, 0, 0, 0,
41 0, 1, 0, 0, 0, 0, 0, 0,
42 0, 0, 1, 0, 0, 0, 0, 0,
43 0, 0, 0, 0, 0, 0, 0, 0,
44 0, 0, -268, 0, 210, 1, 0, 1,
45 0, 206, 1, 0, 205, 205, 1, 0,
46 0, 79, 202, 203, 1, 0, 205, 207,
47 0, 211, 209, 1, 0, 0, 0, 211,
48 213, 0, 214, 0, 0, 1, 0, 1,
49 0, 218, 1, 0, 218, 0, 0, 1,
50 0, 218, 0, 217, 217, 1, 0, 1,
51 0, 219, 1, 0, 0, 0, 1, 0,
52 0, 0, 0, 2, 1, 0, 2, 1,
53 0, 2, 1, 0, 0, 0, 0, 2,
54 1, 0, 0, 0, -97, -56, 0, 0,
55 0, 0, 0, 0, 0, 0, 1, 0,
56 1, 0, 0, 0, 0, 0, 0, 0,
57 0, 0, 0, 0, 116, 0, 0, 0,
58 0, 0, 0, 0, 0, 0, 0, 32,
59 32, 0, 32, 32, 32, 32, 32, 32,
60 32, 0, 0, 0, 0, 0, 0, -30,
61 -25, 0, 0, 0, -15, -22, 0, 0,
62 0, 1, 0, 1, 0, 1, 0, 1,
63 0, 1, 0, 1, 0, 1, 0, 1,
64 0, -54, -48, -47, 0, 0, 0, 0,
65 0, 0, 0, 0, 0, 0, 0, 0,
66 0, 80, 0, 80, 80, 80, 0, 80,
67 80, 80, 80, 0, 0, 0, 80, 32,
68 32, 32, 32, 32, 32, 32, 32, 32,
69 0, 32, 32, 32, 32, 32, 32, 32,
70 32, 32, 32, 32, 32, 32, 32, 32,
71 32, 1, 0, 1, 0, 1, 0, 0,
72 0, 1, 0, 1, 0, 1, 0, 1,
73 0, 0, 0, 0, 0, 0, 0, 0,
74 0, 0, 0, 1, 0, 1, 0, 0,
75 0, 1, 0, 0, 0, 1, 0, 0,
76 0, 1, 0, 0, 0, 0, 1, 0,
77 0, 0, 1, 0, 0, 0, 0, 0,
78 0, 0, 1, 0, 0, 0, 0, 0,
79 0, 0, 48, 48, 48, 48, 48, 48,
80 48, 48, 48, 48, 48, 48, 48, 48,
81 48, 48, 0, 0, 0, 0, 0, 0,
82 0, 0, 0, 0, 0, 0, 0, 0,
83 -7173, 0, 0, 0, 0, 0, 0, -7517,
84 0, 0, 0, -8383, 0, 0, 0, 0,
85 0, 16, 16, 16, 16, 16, 16, 16,
86 16, 16, 16, 16, 16, 16, 16, 16,
87 16, 0, 0, 0, 0, 0, 0, 26,
88 26, 26, 26, 26, 26, 26, 26, 26,
89 26, 26, 26, 26, 26, 26, 26
92 static const unsigned short CaseFoldTable2[] =
94 0, 0, 0, 0, 15, 20, 0, 0,
95 0, 0, 36, 47, 57, 73, 0, 0,
96 89, 99, 114, 128, 136, 99, 139, 155,
97 171, 187, 202, 215, 0, 134, 230, 0,
98 93, 244, 0, 0, 0, 0, 0, 0,
99 0, 0, 0, 0, 0, 0, 0, 255,
100 0, 0, 0, 0, 15, 271, 0, 136,
101 287, 297, 313, 327, 343, 353, 0, 0,
102 0, 297, 369, 383, 297, 297, 297, 398,
103 410, 418, 0, 0, 0, 433, 434, 443,
104 0, 0, 0, 0, 0, 0, 0, 0,
105 0, 0, 0, 0, 0, 0, 0, 0,
106 450, 0, 0, 0, 0, 465, 0, 0,
107 0, 481, 0, 0, 0, 0, 0, 0,
108 0, 0, 0, 0, 0, 497, 503, 0,
109 0, 0, 15, 20, 0, 0, 0, 0,
110 0, 0, 0, 0, 0, 0, 0, 0
113 static const unsigned char CaseFoldTable1[] =
115 0, 15, 31, 43, 59, 74, 80, 80,
116 80, 80, 80, 80, 80, 80, 80, 80,
117 80, 80, 80, 80, 80, 85, 80, 99,
118 80, 80, 106, 80, 80, 80, 80, 80,
119 80, 80, 80, 80, 80, 80, 80, 80,
123 static const unsigned char CaseFoldTable0[] =
125 0, 6, 22, 27, 27, 27, 27, 27,
126 27, 27, 27, 27, 27, 27, 27, 28