1 /* |
|
2 * Copyright (c) 1994-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * CP850 Western European Alphabetic Conversions etc (excludes Scandinavia). |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 #include "ls_std.h" |
|
21 |
|
22 // The character type conversion table |
|
23 const TUint8 LAlphabet::TypeTable[KMaxTranslateTable] = |
|
24 { |
|
25 (__C), // 0x00 - NUL |
|
26 (__C), // 0x01 - SOH |
|
27 (__C), // 0x02 - STX |
|
28 (__C), // 0x03 - ETX |
|
29 (__C), // 0x04 - EOT |
|
30 (__C), // 0x05 - ENQ |
|
31 (__C), // 0x06 - ACK |
|
32 (__C), // 0x07 - BEL |
|
33 (__C), // 0x08 - BS |
|
34 (__C|__S), // 0x09 - HT |
|
35 (__C|__S), // 0x0a - NL |
|
36 (__C|__S), // 0x0b - VT |
|
37 (__C|__S), // 0x0c - FF |
|
38 (__C|__S), // 0x0d - CR |
|
39 (__C), // 0x0e - SO |
|
40 (__C), // 0x0f - SI |
|
41 (__C), // 0x10 - DLE |
|
42 (__C), // 0x11 - DC1 |
|
43 (__C), // 0x12 - DC2 |
|
44 (__C), // 0x13 - DC3 |
|
45 (__C), // 0x14 - DC4 |
|
46 (__C), // 0x15 - NAK |
|
47 (__C), // 0x16 - SYN |
|
48 (__C), // 0x17 - ETB |
|
49 (__C), // 0x18 - CAN |
|
50 (__C), // 0x19 - EM |
|
51 (__C), // 0x1a - SUB |
|
52 (__C), // 0x1b - ESC |
|
53 (__C), // 0x1c - FS |
|
54 (__C), // 0x1d - GS |
|
55 (__C), // 0x1e - RS |
|
56 (__C), // 0x1f - US |
|
57 (__S|__B), // 0x20 - ' ' |
|
58 (__P), // 0x21 - '!' |
|
59 (__P), // 0x22 - '"' |
|
60 (__P), // 0x23 - '#' |
|
61 (__P), // 0x24 - '$' |
|
62 (__P), // 0x25 - '%' |
|
63 (__P), // 0x26 - '&' |
|
64 (__P), // 0x27 - ''' |
|
65 (__P), // 0x28 - '(' |
|
66 (__P), // 0x29 - ')' |
|
67 (__P), // 0x2a - '*' |
|
68 (__P), // 0x2b - '+' |
|
69 (__P), // 0x2c - ',' |
|
70 (__P), // 0x2d - '-' |
|
71 (__P), // 0x2e - '.' |
|
72 (__P), // 0x2f - '/' |
|
73 (__D|__X), // 0x30 - '0' |
|
74 (__D|__X), // 0x31 - '1' |
|
75 (__D|__X), // 0x32 - '2' |
|
76 (__D|__X), // 0x33 - '3' |
|
77 (__D|__X), // 0x34 - '4' |
|
78 (__D|__X), // 0x35 - '5' |
|
79 (__D|__X), // 0x36 - '6' |
|
80 (__D|__X), // 0x37 - '7' |
|
81 (__D|__X), // 0x38 - '8' |
|
82 (__D|__X), // 0x39 - '9' |
|
83 (__P), // 0x3a - ':' |
|
84 (__P), // 0x3b - ';' |
|
85 (__P), // 0x3c - '<' |
|
86 (__P), // 0x3d - '=' |
|
87 (__P), // 0x3e - '>' |
|
88 (__P), // 0x3f - '?' |
|
89 (__P), // 0x40 - '@' |
|
90 (__U|__X), // 0x41 - 'A' |
|
91 (__U|__X), // 0x42 - 'B' |
|
92 (__U|__X), // 0x43 - 'C' |
|
93 (__U|__X), // 0x44 - 'D' |
|
94 (__U|__X), // 0x45 - 'E' |
|
95 (__U|__X), // 0x46 - 'F' |
|
96 (__U), // 0x47 - 'G' |
|
97 (__U), // 0x48 - 'H' |
|
98 (__U), // 0x49 - 'I' |
|
99 (__U), // 0x4a - 'J' |
|
100 (__U), // 0x4b - 'K' |
|
101 (__U), // 0x4c - 'L' |
|
102 (__U), // 0x4d - 'M' |
|
103 (__U), // 0x4e - 'N' |
|
104 (__U), // 0x4f - 'O' |
|
105 (__U), // 0x50 - 'P' |
|
106 (__U), // 0x51 - 'Q' |
|
107 (__U), // 0x52 - 'R' |
|
108 (__U), // 0x53 - 'S' |
|
109 (__U), // 0x54 - 'T' |
|
110 (__U), // 0x55 - 'U' |
|
111 (__U), // 0x56 - 'V' |
|
112 (__U), // 0x57 - 'W' |
|
113 (__U), // 0x58 - 'X' |
|
114 (__U), // 0x59 - 'Y' |
|
115 (__U), // 0x5a - 'Z' |
|
116 (__P), // 0x5b - '[' |
|
117 (__P), // 0x5c - '\' |
|
118 (__P), // 0x5d - ']' |
|
119 (__P), // 0x5e - '^' |
|
120 (__P), // 0x5f - '_' |
|
121 (__P), // 0x60 - '`' |
|
122 (__L|__X), // 0x61 - 'a' |
|
123 (__L|__X), // 0x62 - 'b' |
|
124 (__L|__X), // 0x63 - 'c' |
|
125 (__L|__X), // 0x64 - 'd' |
|
126 (__L|__X), // 0x65 - 'e' |
|
127 (__L|__X), // 0x66 - 'f' |
|
128 (__L), // 0x67 - 'g' |
|
129 (__L), // 0x68 - 'h' |
|
130 (__L), // 0x69 - 'i' |
|
131 (__L), // 0x6a - 'j' |
|
132 (__L), // 0x6b - 'k' |
|
133 (__L), // 0x6c - 'l' |
|
134 (__L), // 0x6d - 'm' |
|
135 (__L), // 0x6e - 'n' |
|
136 (__L), // 0x6f - 'o' |
|
137 (__L), // 0x70 - 'p' |
|
138 (__L), // 0x71 - 'q' |
|
139 (__L), // 0x72 - 'r' |
|
140 (__L), // 0x73 - 's' |
|
141 (__L), // 0x74 - 't' |
|
142 (__L), // 0x75 - 'u' |
|
143 (__L), // 0x76 - 'v' |
|
144 (__L), // 0x77 - 'w' |
|
145 (__L), // 0x78 - 'x' |
|
146 (__L), // 0x79 - 'y' |
|
147 (__L), // 0x7a - 'z' |
|
148 (__P), // 0x7b - '{' |
|
149 (__P), // 0x7c - '|' |
|
150 (__P), // 0x7d - '}' |
|
151 (__P), // 0x7e - '~' |
|
152 (__C), // 0x7f - DEL |
|
153 (__U), // 0x80 - C cedilla |
|
154 (__L), // 0x81 - u umlaut |
|
155 (__L), // 0x82 - e acute |
|
156 (__L), // 0x83 - a circumflex |
|
157 (__L), // 0x84 - a umlaut |
|
158 (__L), // 0x85 - a grave |
|
159 (__L), // 0x86 - a ring |
|
160 (__L), // 0x87 - c cedilla |
|
161 (__L), // 0x88 - e circumflex |
|
162 (__L), // 0x89 - e umlaut |
|
163 (__L), // 0x8a - e grave |
|
164 (__L), // 0x8b - i umlaut |
|
165 (__L), // 0x8c - i circumflex |
|
166 (__L), // 0x8d - i grave |
|
167 (__U), // 0x8e - A umlaut |
|
168 (__U), // 0x8f - A ring |
|
169 (__U), // 0x90 - E acute |
|
170 (__L), // 0x91 - ae |
|
171 (__U), // 0x92 - AE |
|
172 (__L), // 0x93 - o circumflex |
|
173 (__L), // 0x94 - o umlaut |
|
174 (__L), // 0x95 - o grave |
|
175 (__L), // 0x96 - u circumflex |
|
176 (__L), // 0x97 - u grave |
|
177 (__L), // 0x98 - y umlaut |
|
178 (__U), // 0x99 - O umlaut |
|
179 (__U), // 0x9a - U umlaut |
|
180 (__L), // 0x9b - o slash |
|
181 (__P), // 0x9c - sterling |
|
182 (__U), // 0x9d - O slash |
|
183 (__P), // 0x9e - multiply |
|
184 (__P), // 0x9f - florin |
|
185 (__L), // 0xa0 - a acute |
|
186 (__L), // 0xa1 - i acute |
|
187 (__L), // 0xa2 - o acute |
|
188 (__L), // 0xa3 - u acute |
|
189 (__L), // 0xa4 - n tilde |
|
190 (__U), // 0xa5 - N tilde |
|
191 (__P), // 0xa6 - ordfeminine |
|
192 (__P), // 0xa7 - ordmasculine |
|
193 (__P), // 0xa8 - inverted ? |
|
194 (__P), // 0xa9 - registered |
|
195 (__P), // 0xaa - logical not |
|
196 (__P), // 0xab - 1/2 |
|
197 (__P), // 0xac - 1/4 |
|
198 (__P), // 0xad - inverted ! |
|
199 (__P), // 0xae - guillemotleft |
|
200 (__P), // 0xaf - guillemotright |
|
201 (0), // 0xb0 - 1/4 grey |
|
202 (0), // 0xb1 - 1/2 grey |
|
203 (0), // 0xb2 - 3/4 grey |
|
204 (0), // 0xb3 - vertical line |
|
205 (0), // 0xb4 - -| |
|
206 (__U), // 0xb5 - A acute |
|
207 (__U), // 0xb6 - A circumflex |
|
208 (__U), // 0xb7 - A grave |
|
209 (__P), // 0xb8 - copyright |
|
210 (0), // 0xb9 - -| double |
|
211 (0), // 0xba - | double |
|
212 (0), // 0xbb - top right double |
|
213 (0), // 0xbc - bottom right double |
|
214 (__P), // 0xbd - cent |
|
215 (__P), // 0xbe - Yen |
|
216 (0), // 0xbf - top right |
|
217 (0), // 0xc0 - bottom left |
|
218 (0), // 0xc1 - bottom middle |
|
219 (0), // 0xc2 - top middle |
|
220 (0), // 0xc3 - left middle |
|
221 (0), // 0xc4 - -- |
|
222 (0), // 0xc5 - middle |
|
223 (__L), // 0xc6 - a tilde |
|
224 (__U), // 0xc7 - A tilde |
|
225 (0), // 0xc8 - bottom left double |
|
226 (0), // 0xc9 - top left double |
|
227 (0), // 0xca - bottom middle double |
|
228 (0), // 0xcb - top middle double |
|
229 (0), // 0xcc - left middle double |
|
230 (0), // 0xcd - == |
|
231 (0), // 0xce - middle double |
|
232 (__P), // 0xcf - currency |
|
233 (__L), // 0xd0 - eth |
|
234 (__U), // 0xd1 - Eth |
|
235 (__U), // 0xd2 - E circumflex |
|
236 (__U), // 0xd3 - E dieresis |
|
237 (__U), // 0xd4 - E grave |
|
238 (__L), // 0xd5 - dotlessi |
|
239 (__U), // 0xd6 - I acute |
|
240 (__U), // 0xd7 - I circumflex |
|
241 (__U), // 0xd8 - I umlaut |
|
242 (0), // 0xd9 - bottom right |
|
243 (0), // 0xda - top left |
|
244 (0), // 0xdb - black square |
|
245 (0), // 0xdc - lower half of black square |
|
246 (__P), // 0xdd - brokenbar |
|
247 (__U), // 0xde - I grave |
|
248 (0), // 0xdf - upper half of black square |
|
249 (__U), // 0xe0 - O acute |
|
250 (__L), // 0xe1 - germandbls |
|
251 (__U), // 0xe2 - O circumflex |
|
252 (__U), // 0xe3 - O grave |
|
253 (__L), // 0xe4 - o tilde |
|
254 (__U), // 0xe5 - O tilde |
|
255 (__L), // 0xe6 - mu |
|
256 (__L), // 0xe7 - thorn |
|
257 (__U), // 0xe8 - Thorn |
|
258 (__U), // 0xe9 - U acute |
|
259 (__U), // 0xea - U circumflex |
|
260 (__U), // 0xeb - U grave |
|
261 (__L), // 0xec - y acute |
|
262 (__U), // 0xed - Y acute |
|
263 (__P), // 0xee - macron (overscore) |
|
264 (__P), // 0xef - acute |
|
265 (__P), // 0xf0 - minus |
|
266 (__P), // 0xf1 - plusminus |
|
267 (__P), // 0xf2 - double underscore |
|
268 (__P), // 0xf3 - 3/4 |
|
269 (__P), // 0xf4 - paragraph |
|
270 (__P), // 0xf5 - section |
|
271 (__P), // 0xf6 - divide |
|
272 (__P), // 0xf7 - cedilla |
|
273 (__P), // 0xf8 - degree |
|
274 (__P), // 0xf9 - dieresis |
|
275 (__P), // 0xfa - decimal point |
|
276 (__P), // 0xfb - superscript 1 |
|
277 (__P), // 0xfc - superscript 2 |
|
278 (__P), // 0xfd - superscript 3 |
|
279 (__P), // 0xfe - bullet |
|
280 (__S|__B) // 0xff - another space |
|
281 }; |
|
282 |
|
283 // The uppercase table |
|
284 const TText LAlphabet::UpperTable[KMaxTranslateTable] = |
|
285 { |
|
286 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07, // 0x00 |
|
287 0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f, |
|
288 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17, // 0x10 |
|
289 0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f, |
|
290 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27, // 0x20 |
|
291 0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f, |
|
292 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37, // 0x30 |
|
293 0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f, |
|
294 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47, // 0x40 |
|
295 0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f, |
|
296 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57, // 0x50 |
|
297 0x58,0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f, |
|
298 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47, // 0x60 |
|
299 0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f, |
|
300 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57, // 0x70 |
|
301 0x58,0x59,0x5a,0x7b,0x7c,0x7d,0x7e,0x7f, |
|
302 0x80,0x9a,0x90,0xb6,0x8e,0xb7,0x8f,0x80, // 0x80 |
|
303 0xd2,0xd3,0xd4,0xd8,0xd7,0xde,0x8e,0x8f, |
|
304 0x90,0x92,0x92,0xe2,0x99,0xe3,0xea,0xeb, // 0x90 |
|
305 0x59,0x99,0x9a,0x9d,0x9c,0x9d,0x9e,0x9f, |
|
306 0xb5,0xd6,0xe0,0xe9,0xa5,0xa5,0xa6,0xa7, // 0xa0 |
|
307 0xa8,0xa9,0xaa,0xab,0xac,0xad,0xae,0xaf, |
|
308 0xb0,0xb1,0xb2,0xb3,0xb4,0xb5,0xb6,0xb7, // 0xb0 |
|
309 0xb8,0xb9,0xba,0xbb,0xbc,0xbd,0xbe,0xbf, |
|
310 0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0xc7,0xc7, // 0xc0 |
|
311 0xc8,0xc9,0xca,0xcb,0xcc,0xcd,0xce,0xcf, |
|
312 0xd1,0xd1,0xd2,0xd3,0xd4,0xd5,0xd6,0xd7, // 0xd0 |
|
313 0xd8,0xd9,0xda,0xdb,0xdc,0xdd,0xde,0xdf, |
|
314 0xe0,0xe1,0xe2,0xe3,0xe5,0xe5,0xe6,0xe8, // 0xe0 |
|
315 0xe8,0xe9,0xea,0xeb,0xed,0xed,0xee,0xef, |
|
316 0xf0,0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7, // 0xf0 |
|
317 0xf8,0xf9,0xfa,0xfb,0xfc,0xfd,0xfe,0xff |
|
318 }; |
|
319 |
|
320 // The lowercase table |
|
321 const TText LAlphabet::LowerTable[KMaxTranslateTable] = |
|
322 { |
|
323 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07, // 0x00 |
|
324 0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f, |
|
325 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17, // 0x10 |
|
326 0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f, |
|
327 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27, // 0x20 |
|
328 0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f, |
|
329 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37, // 0x30 |
|
330 0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f, |
|
331 0x40,0x61,0x62,0x63,0x64,0x65,0x66,0x67, // 0x40 |
|
332 0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f, |
|
333 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77, // 0x50 |
|
334 0x78,0x79,0x7a,0x5b,0x5c,0x5d,0x5e,0x5f, |
|
335 0x60,0x61,0x62,0x63,0x64,0x65,0x66,0x67, // 0x60 |
|
336 0x68,0x69,0x6a,0x6b,0x6c,0x6d,0x6e,0x6f, |
|
337 0x70,0x71,0x72,0x73,0x74,0x75,0x76,0x77, // 0x70 |
|
338 0x78,0x79,0x7a,0x7b,0x7c,0x7d,0x7e,0x7f, |
|
339 0x87,0x81,0x82,0x83,0x84,0x85,0x86,0x87, // 0x80 |
|
340 0x88,0x89,0x8a,0x8b,0x8c,0x8d,0x84,0x86, |
|
341 0x82,0x91,0x91,0x93,0x94,0x95,0x96,0x97, // 0x90 |
|
342 0x98,0x94,0x81,0x9b,0x9c,0x9b,0x9e,0x9f, |
|
343 0xa0,0xa1,0xa2,0xa3,0xa4,0xa4,0xa6,0xa7, // 0xa0 |
|
344 0xa8,0xa9,0xaa,0xab,0xac,0xad,0xae,0xaf, |
|
345 0xb0,0xb1,0xb2,0xb3,0xb4,0xa0,0x83,0x85, // 0xb0 |
|
346 0xb8,0xb9,0xba,0xbb,0xbc,0xbd,0xbe,0xbf, |
|
347 0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0xc6,0xc6, // 0xc0 |
|
348 0xc8,0xc9,0xca,0xcb,0xcc,0xcd,0xce,0xcf, |
|
349 0xd0,0xd0,0x88,0x89,0x8a,0xd5,0xa1,0x8c, // 0xd0 |
|
350 0x8b,0xd9,0xda,0xdb,0xdc,0xdd,0x8d,0xdf, |
|
351 0xa2,0xe1,0x93,0x95,0xe4,0xe4,0xe6,0xe7, // 0xe0 |
|
352 0xe7,0xa3,0x96,0x97,0xec,0xec,0xee,0xef, |
|
353 0xf0,0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7, // 0xf0 |
|
354 0xf8,0xf9,0xfa,0xfb,0xfc,0xfd,0xfe,0xff |
|
355 }; |
|
356 |
|
357 // The fold table |
|
358 const TText LAlphabet::FoldTable[KMaxTranslateTable] = |
|
359 { |
|
360 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07, // 0x00 |
|
361 0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f, |
|
362 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17, // 0x10 |
|
363 0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f, |
|
364 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27, // 0x20 |
|
365 0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f, |
|
366 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37, // 0x30 |
|
367 0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f, |
|
368 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47, // 0x40 |
|
369 0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f, |
|
370 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57, // 0x50 |
|
371 0x58,0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f, |
|
372 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47, // 0x60 |
|
373 0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f, |
|
374 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57, // 0x70 |
|
375 0x58,0x59,0x5a,0x7b,0x7c,0x7d,0x7e,0x7f, |
|
376 0x43,0x55,0x45,0x41,0x41,0x41,0x8f,0x43, // 0x80 |
|
377 0x45,0x45,0x45,0x49,0x49,0x49,0x41,0x8f, |
|
378 0x45,0x92,0x92,0x4f,0x4f,0x4f,0x55,0x55, // 0x90 |
|
379 0x59,0x4f,0x55,0x9d,0x9c,0x9d,0x9e,0x9f, |
|
380 0x41,0x49,0x4f,0x55,0x4e,0x4e,0xa6,0xa7, // 0xa0 |
|
381 0xa8,0xa9,0xaa,0xab,0xac,0xad,0xae,0xaf, |
|
382 0xb0,0xb1,0xb2,0xb3,0xb4,0x41,0x41,0x41, // 0xb0 |
|
383 0xb8,0xb9,0xba,0xbb,0xbc,0xbd,0xbe,0xbf, |
|
384 0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0x41,0x41, // 0xc0 |
|
385 0xc8,0xc9,0xca,0xcb,0xcc,0xcd,0xce,0xcf, |
|
386 0xd1,0xd1,0x45,0x45,0x45,0xd5,0x49,0x49, // 0xd0 |
|
387 0x49,0xd9,0xda,0xdb,0xdc,0xdd,0x49,0xdf, |
|
388 0x4f,0xe1,0x4f,0x4f,0x4f,0x4f,0xe6,0xe8, // 0xe0 |
|
389 0xe8,0x55,0x55,0x55,0x59,0x59,0xee,0xef, |
|
390 0xf0,0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7, // 0xf0 |
|
391 0xf8,0xf9,0xfa,0xfb,0xfc,0xfd,0xfe,0xff |
|
392 }; |
|
393 |
|
394 // The collate table |
|
395 const TText LAlphabet::CollTable[KMaxTranslateTable] = |
|
396 { |
|
397 0x00,0x01,0x02,0x03,0x04,0x05,0x06,0x07, // 0x00 |
|
398 0x08,0x09,0x0a,0x0b,0x0c,0x0d,0x0e,0x0f, |
|
399 0x10,0x11,0x12,0x13,0x14,0x15,0x16,0x17, // 0x10 |
|
400 0x18,0x19,0x1a,0x1b,0x1c,0x1d,0x1e,0x1f, |
|
401 0x20,0x21,0x22,0x23,0x24,0x25,0x26,0x27, // 0x20 |
|
402 0x28,0x29,0x2a,0x2b,0x2c,0x2d,0x2e,0x2f, |
|
403 0x30,0x31,0x32,0x33,0x34,0x35,0x36,0x37, // 0x30 |
|
404 0x38,0x39,0x3a,0x3b,0x3c,0x3d,0x3e,0x3f, |
|
405 0x40,0x41,0x42,0x43,0x44,0x45,0x46,0x47, // 0x40 |
|
406 0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f, |
|
407 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57, // 0x50 |
|
408 0x58,0x59,0x5a,0x5b,0x5c,0x5d,0x5e,0x5f, |
|
409 0x60,0x41,0x42,0x43,0x44,0x45,0x46,0x47, // 0x60 |
|
410 0x48,0x49,0x4a,0x4b,0x4c,0x4d,0x4e,0x4f, |
|
411 0x50,0x51,0x52,0x53,0x54,0x55,0x56,0x57, // 0x70 |
|
412 0x58,0x59,0x5a,0x7b,0x7c,0x7d,0x7e,0x7f, |
|
413 0x43,0x55,0x45,0x41,0x41,0x41,0x8f,0x43, // 0x80 |
|
414 0x45,0x45,0x45,0x49,0x49,0x49,0x41,0x8f, |
|
415 0x45,0x92,0x92,0x4f,0x4f,0x4f,0x55,0x55, // 0x90 |
|
416 0x59,0x4f,0x55,0x9d,0x9c,0x9d,0x9e,0x9f, |
|
417 0x41,0x49,0x4f,0x55,0x4e,0x4e,0xa6,0xa7, // 0xa0 |
|
418 0xa8,0xa9,0xaa,0xab,0xac,0xad,0xae,0xaf, |
|
419 0xb0,0xb1,0xb2,0xb3,0xb4,0x41,0x41,0x41, // 0xb0 |
|
420 0xb8,0xb9,0xba,0xbb,0xbc,0xbd,0xbe,0xbf, |
|
421 0xc0,0xc1,0xc2,0xc3,0xc4,0xc5,0x41,0x41, // 0xc0 |
|
422 0xc8,0xc9,0xca,0xcb,0xcc,0xcd,0xce,0xcf, |
|
423 0xd1,0xd1,0x45,0x45,0x45,0xd5,0x49,0x49, // 0xd0 |
|
424 0x49,0xd9,0xda,0xdb,0xdc,0xdd,0x49,0xdf, |
|
425 0x4f,0xe1,0x4f,0x4f,0x4f,0x4f,0xe6,0xe8, // 0xe0 |
|
426 0xe8,0x55,0x55,0x55,0x59,0x59,0xee,0xef, |
|
427 0xf0,0xf1,0xf2,0xf3,0xf4,0xf5,0xf6,0xf7, // 0xf0 |
|
428 0xf8,0xf9,0xfa,0xfb,0xfc,0xfd,0xfe,0xff |
|
429 }; |
|