7
|
1 /* vi:set ts=8 sts=4 sw=4:
|
|
2 *
|
|
3 * VIM - Vi IMproved by Bram Moolenaar
|
|
4 *
|
|
5 * Do ":help uganda" in Vim to read copying and usage conditions.
|
|
6 * Do ":help credits" in Vim to see a list of people who contributed.
|
|
7 * See README.txt for an overview of the Vim source code.
|
|
8 */
|
|
9
|
|
10 /*
|
|
11 * digraph.c: code for digraphs
|
|
12 */
|
|
13
|
|
14 #include "vim.h"
|
|
15
|
|
16 #if defined(FEAT_DIGRAPHS) || defined(PROTO)
|
|
17
|
|
18 #ifdef FEAT_MBYTE
|
|
19 typedef int result_T;
|
|
20 #else
|
|
21 typedef char_u result_T;
|
|
22 #endif
|
|
23
|
|
24 typedef struct digraph
|
|
25 {
|
|
26 char_u char1;
|
|
27 char_u char2;
|
|
28 result_T result;
|
|
29 } digr_T;
|
|
30
|
|
31 static int getexactdigraph __ARGS((int, int, int));
|
|
32 static void printdigraph __ARGS((digr_T *));
|
|
33
|
|
34 /* digraphs added by the user */
|
|
35 static garray_T user_digraphs = {0, 0, sizeof(digr_T), 10, NULL};
|
|
36
|
|
37 /*
|
|
38 * Note: Characters marked with XX are not included literally, because some
|
|
39 * compilers cannot handle them (Amiga SAS/C is the most picky one).
|
|
40 */
|
298
|
41 static digr_T digraphdefault[] =
|
7
|
42 #if defined(MSDOS) || defined(OS2)
|
|
43 /*
|
|
44 * MSDOS digraphs.
|
|
45 */
|
|
46 {{'C', ',', 128}, /* ~@ XX */
|
|
47 {'u', '"', 129}, /* */
|
|
48 {'e', '\'', 130}, /* */
|
|
49 {'a', '^', 131}, /* */
|
|
50 {'a', '"', 132}, /* */
|
|
51 {'a', '`', 133}, /* */
|
|
52 {'a', '@', 134}, /* */
|
|
53 {'c', ',', 135}, /* ~G XX */
|
|
54 {'e', '^', 136}, /* ~H XX */
|
|
55 {'e', '"', 137}, /* */
|
|
56 {'e', '`', 138}, /* */
|
|
57 {'i', '"', 139}, /* */
|
|
58 {'i', '^', 140}, /* */
|
|
59 {'i', '`', 141}, /* */
|
|
60 {'A', '"', 142}, /* ~N XX */
|
|
61 {'A', '@', 143}, /* */
|
|
62 {'E', '\'', 144}, /* */
|
|
63 {'a', 'e', 145}, /* */
|
|
64 {'A', 'E', 146}, /* */
|
|
65 {'o', '^', 147}, /* */
|
|
66 {'o', '"', 148}, /* */
|
|
67 {'o', '`', 149}, /* */
|
|
68 {'u', '^', 150}, /* */
|
|
69 {'u', '`', 151}, /* */
|
|
70 {'y', '"', 152}, /* */
|
|
71 {'O', '"', 153}, /* */
|
|
72 {'U', '"', 154}, /* */
|
|
73 {'c', '|', 155}, /* */
|
|
74 {'$', '$', 156}, /* */
|
|
75 {'Y', '-', 157}, /* ~] XX */
|
|
76 {'P', 't', 158}, /* */
|
|
77 {'f', 'f', 159}, /* */
|
|
78 {'a', '\'', 160}, /* */
|
|
79 {'i', '\'', 161}, /* */
|
|
80 {'o', '\'', 162}, /* */
|
|
81 {'u', '\'', 163}, /* x XX */
|
|
82 {'n', '~', 164}, /* */
|
|
83 {'N', '~', 165}, /* */
|
|
84 {'a', 'a', 166}, /* */
|
|
85 {'o', 'o', 167}, /* */
|
|
86 {'~', '?', 168}, /* */
|
|
87 {'-', 'a', 169}, /* */
|
|
88 {'a', '-', 170}, /* */
|
|
89 {'1', '2', 171}, /* */
|
|
90 {'1', '4', 172}, /* */
|
|
91 {'~', '!', 173}, /* */
|
|
92 {'<', '<', 174}, /* */
|
|
93 {'>', '>', 175}, /* */
|
|
94
|
|
95 {'s', 's', 225}, /* */
|
|
96 {'j', 'u', 230}, /* */
|
|
97 {'o', '/', 237}, /* */
|
|
98 {'+', '-', 241}, /* */
|
|
99 {'>', '=', 242}, /* */
|
|
100 {'<', '=', 243}, /* */
|
|
101 {':', '-', 246}, /* */
|
|
102 {'~', '~', 247}, /* */
|
|
103 {'~', 'o', 248}, /* */
|
|
104 {'2', '2', 253}, /* */
|
|
105 {NUL, NUL, NUL}
|
|
106 };
|
|
107
|
|
108 #else /* !MSDOS && !OS2 */
|
|
109 # ifdef __MINT__
|
|
110
|
|
111 /*
|
|
112 * ATARI digraphs
|
|
113 */
|
|
114 {{'C', ',', 128}, /* ~@ XX */
|
|
115 {'u', '"', 129}, /* */
|
|
116 {'e', '\'', 130}, /* */
|
|
117 {'a', '^', 131}, /* */
|
|
118 {'a', '"', 132}, /* */
|
|
119 {'a', '`', 133}, /* */
|
|
120 {'a', '@', 134}, /* */
|
|
121 {'c', ',', 135}, /* ~G XX */
|
|
122 {'e', '^', 136}, /* ~H XX */
|
|
123 {'e', '"', 137}, /* */
|
|
124 {'e', '`', 138}, /* */
|
|
125 {'i', '"', 139}, /* */
|
|
126 {'i', '^', 140}, /* */
|
|
127 {'i', '`', 141}, /* */
|
|
128 {'A', '"', 142}, /* */
|
|
129 {'A', '@', 143}, /* */
|
|
130 {'E', '\'', 144}, /* */
|
|
131 {'a', 'e', 145}, /* */
|
|
132 {'A', 'E', 146}, /* */
|
|
133 {'o', '^', 147}, /* */
|
|
134 {'o', '"', 148}, /* */
|
|
135 {'o', '`', 149}, /* */
|
|
136 {'u', '^', 150}, /* */
|
|
137 {'u', '`', 151}, /* */
|
|
138 {'y', '"', 152}, /* */
|
|
139 {'O', '"', 153}, /* */
|
|
140 {'U', '"', 154}, /* */
|
|
141 {'c', '|', 155}, /* */
|
|
142 {'$', '$', 156}, /* */
|
|
143 {'Y', '-', 157}, /* ~] XX */
|
|
144 {'s', 's', 158}, /* */
|
|
145 {'f', 'f', 159}, /* */
|
|
146 {'a', '\'', 160}, /* */
|
|
147 {'i', '\'', 161}, /* */
|
|
148 {'o', '\'', 162}, /* */
|
|
149 {'u', '\'', 163}, /* */
|
|
150 {'n', '~', 164}, /* */
|
|
151 {'N', '~', 165}, /* */
|
|
152 {'a', 'a', 166}, /* */
|
|
153 {'o', 'o', 167}, /* */
|
|
154 {'~', '?', 168}, /* */
|
|
155 {'-', 'a', 169}, /* */
|
|
156 {'a', '-', 170}, /* */
|
|
157 {'1', '2', 171}, /* */
|
|
158 {'1', '4', 172}, /* */
|
|
159 {'~', '!', 173}, /* */
|
|
160 {'<', '<', 174}, /* */
|
|
161 {'>', '>', 175}, /* */
|
|
162 {'j', 'u', 230}, /* */
|
|
163 {'o', '/', 237}, /* */
|
|
164 {'+', '-', 241}, /* */
|
|
165 {'>', '=', 242}, /* */
|
|
166 {'<', '=', 243}, /* */
|
|
167 {':', '-', 246}, /* */
|
|
168 {'~', '~', 247}, /* */
|
|
169 {'~', 'o', 248}, /* */
|
|
170 {'2', '2', 253}, /* */
|
|
171 {NUL, NUL, NUL}
|
|
172 };
|
|
173
|
|
174 # else /* !__MINT__ */
|
|
175 # ifdef HPUX_DIGRAPHS
|
|
176
|
|
177 /*
|
|
178 * different HPUX digraphs
|
|
179 */
|
|
180 {{'A', '`', 161}, /* */
|
|
181 {'A', '^', 162}, /* */
|
|
182 {'E', '`', 163}, /* */
|
|
183 {'E', '^', 164}, /* */
|
|
184 {'E', '"', 165}, /* */
|
|
185 {'I', '^', 166}, /* */
|
|
186 {'I', '"', 167}, /* */
|
|
187 {'\'', '\'', 168}, /* */
|
|
188 {'`', '`', 169}, /* */
|
|
189 {'^', '^', 170}, /* */
|
|
190 {'"', '"', 171}, /* */
|
|
191 {'~', '~', 172}, /* */
|
|
192 {'U', '`', 173}, /* */
|
|
193 {'U', '^', 174}, /* */
|
|
194 {'L', '=', 175}, /* */
|
|
195 {'~', '_', 176}, /* */
|
|
196 {'Y', '\'', 177}, /* */
|
|
197 {'y', '\'', 178}, /* */
|
|
198 {'~', 'o', 179}, /* */
|
|
199 {'C', ',', 180}, /* */
|
|
200 {'c', ',', 181}, /* */
|
|
201 {'N', '~', 182}, /* */
|
|
202 {'n', '~', 183}, /* */
|
|
203 {'~', '!', 184}, /* */
|
|
204 {'~', '?', 185}, /* */
|
|
205 {'o', 'x', 186}, /* */
|
|
206 {'L', '-', 187}, /* */
|
|
207 {'Y', '=', 188}, /* */
|
|
208 {'p', 'p', 189}, /* */
|
|
209 {'f', 'l', 190}, /* */
|
|
210 {'c', '|', 191}, /* */
|
|
211 {'a', '^', 192}, /* */
|
|
212 {'e', '^', 193}, /* */
|
|
213 {'o', '^', 194}, /* */
|
|
214 {'u', '^', 195}, /* */
|
|
215 {'a', '\'', 196}, /* */
|
|
216 {'e', '\'', 197}, /* */
|
|
217 {'o', '\'', 198}, /* */
|
|
218 {'u', '\'', 199}, /* */
|
|
219 {'a', '`', 200}, /* */
|
|
220 {'e', '`', 201}, /* */
|
|
221 {'o', '`', 202}, /* */
|
|
222 {'u', '`', 203}, /* */
|
|
223 {'a', '"', 204}, /* */
|
|
224 {'e', '"', 205}, /* */
|
|
225 {'o', '"', 206}, /* */
|
|
226 {'u', '"', 207}, /* */
|
|
227 {'A', 'o', 208}, /* */
|
|
228 {'i', '^', 209}, /* */
|
|
229 {'O', '/', 210}, /* */
|
|
230 {'A', 'E', 211}, /* */
|
|
231 {'a', 'o', 212}, /* */
|
|
232 {'i', '\'', 213}, /* */
|
|
233 {'o', '/', 214}, /* */
|
|
234 {'a', 'e', 215}, /* */
|
|
235 {'A', '"', 216}, /* */
|
|
236 {'i', '`', 217}, /* */
|
|
237 {'O', '"', 218}, /* */
|
|
238 {'U', '"', 219}, /* */
|
|
239 {'E', '\'', 220}, /* */
|
|
240 {'i', '"', 221}, /* */
|
|
241 {'s', 's', 222}, /* */
|
|
242 {'O', '^', 223}, /* */
|
|
243 {'A', '\'', 224}, /* */
|
|
244 {'A', '~', 225}, /* */
|
|
245 {'a', '~', 226}, /* */
|
|
246 {'D', '-', 227}, /* */
|
|
247 {'d', '-', 228}, /* */
|
|
248 {'I', '\'', 229}, /* */
|
|
249 {'I', '`', 230}, /* */
|
|
250 {'O', '\'', 231}, /* */
|
|
251 {'O', '`', 232}, /* */
|
|
252 {'O', '~', 233}, /* */
|
|
253 {'o', '~', 234}, /* */
|
|
254 {'S', '~', 235}, /* */
|
|
255 {'s', '~', 236}, /* */
|
|
256 {'U', '\'', 237}, /* */
|
|
257 {'Y', '"', 238}, /* */
|
|
258 {'y', '"', 239}, /* */
|
|
259 {'p', '-', 240}, /* */
|
|
260 {'p', '~', 241}, /* */
|
|
261 {'~', '.', 242}, /* */
|
|
262 {'j', 'u', 243}, /* */
|
|
263 {'P', 'p', 244}, /* */
|
|
264 {'3', '4', 245}, /* */
|
|
265 {'-', '-', 246}, /* */
|
|
266 {'1', '4', 247}, /* */
|
|
267 {'1', '2', 248}, /* */
|
|
268 {'a', '_', 249}, /* */
|
|
269 {'o', '_', 250}, /* */
|
|
270 {'<', '<', 251}, /* */
|
|
271 {'x', 'x', 252}, /* */
|
|
272 {'>', '>', 253}, /* */
|
|
273 {'+', '-', 254}, /* */
|
|
274 {'n', 'u', 255}, /* x XX */
|
|
275 {NUL, NUL, NUL}
|
|
276 };
|
|
277
|
|
278 # else /* !HPUX_DIGRAPHS */
|
|
279
|
|
280 # ifdef EBCDIC
|
|
281
|
|
282 /*
|
|
283 * EBCDIC - ISO digraphs
|
|
284 * TODO: EBCDIC Table is Code-Page 1047
|
|
285 */
|
|
286 {{'a', '^', 66}, /* */
|
|
287 {'a', '"', 67}, /* */
|
|
288 {'a', '`', 68}, /* */
|
|
289 {'a', '\'', 69}, /* */
|
|
290 {'a', '~', 70}, /* */
|
|
291 {'a', '@', 71}, /* */
|
|
292 {'a', 'a', 71}, /* */
|
|
293 {'c', ',', 72}, /* */
|
|
294 {'n', '~', 73}, /* */
|
|
295 {'c', '|', 74}, /* */
|
|
296 {'e', '\'', 81}, /* */
|
|
297 {'e', '^', 82}, /* */
|
|
298 {'e', '"', 83}, /* */
|
|
299 {'e', '`', 84}, /* */
|
|
300 {'i', '\'', 85}, /* */
|
|
301 {'i', '^', 86}, /* */
|
|
302 {'i', '"', 87}, /* */
|
|
303 {'i', '`', 88}, /* */
|
|
304 {'s', 's', 89}, /* */
|
|
305 {'A', '^', 98}, /* */
|
|
306 {'A', '"', 99}, /* */
|
|
307 {'A', '`', 100}, /* */
|
|
308 {'A', '\'', 101}, /* */
|
|
309 {'A', '~', 102}, /* */
|
|
310 {'A', '@', 103}, /* */
|
|
311 {'A', 'A', 103}, /* */
|
|
312 {'C', ',', 104}, /* */
|
|
313 {'N', '~', 105}, /* */
|
|
314 {'|', '|', 106}, /* */
|
|
315 {'o', '/', 112}, /* */
|
|
316 {'E', '\'', 113}, /* */
|
|
317 {'E', '^', 114}, /* */
|
|
318 {'E', '"', 115}, /* */
|
|
319 {'E', '`', 116}, /* */
|
|
320 {'I', '\'', 117}, /* */
|
|
321 {'I', '^', 118}, /* */
|
|
322 {'I', '"', 119}, /* */
|
|
323 {'I', '`', 120}, /* */
|
|
324 {'O', '/', 128}, /* 0/ XX */
|
|
325 {'<', '<', 138}, /* */
|
|
326 {'>', '>', 139}, /* */
|
|
327 {'d', '-', 140}, /* */
|
|
328 {'y', '\'', 141}, /* */
|
|
329 {'i', 'p', 142}, /* */
|
|
330 {'+', '-', 143}, /* */
|
|
331 {'~', 'o', 144}, /* */
|
|
332 {'a', '-', 154}, /* */
|
|
333 {'o', '-', 155}, /* */
|
|
334 {'a', 'e', 156}, /* */
|
|
335 {',', ',', 157}, /* , XX */
|
|
336 {'A', 'E', 158}, /* */
|
|
337 {'o', 'x', 159}, /* - currency symbol in ISO 8859-1 */
|
|
338 {'e', '=', 159}, /* - euro symbol in ISO 8859-15 */
|
|
339 {'j', 'u', 160}, /* */
|
|
340 {'y', '"', 167}, /* x XX */
|
|
341 {'~', '!', 170}, /* */
|
|
342 {'~', '?', 171}, /* */
|
|
343 {'D', '-', 172}, /* */
|
|
344 {'I', 'p', 174}, /* */
|
|
345 {'r', 'O', 175}, /* */
|
|
346 {'-', ',', 176}, /* */
|
|
347 {'$', '$', 177}, /* */
|
|
348 {'Y', '-', 178}, /* */
|
|
349 {'~', '.', 179}, /* */
|
|
350 {'c', 'O', 180}, /* */
|
|
351 {'p', 'a', 181}, /* */
|
|
352 {'p', 'p', 182}, /* */
|
|
353 {'1', '4', 183}, /* */
|
|
354 {'1', '2', 184}, /* */
|
|
355 {'3', '4', 185}, /* */
|
|
356 {'Y', '\'', 186}, /* */
|
|
357 {'"', '"', 187}, /* */
|
|
358 {'-', '=', 188}, /* */
|
|
359 {'\'', '\'', 190}, /* */
|
|
360 {'O', 'E', 191}, /* - OE in ISO 8859-15 */
|
|
361 {'/', '\\', 191}, /* - multiplication symbol in ISO 8859-1 */
|
|
362 {'-', '-', 202}, /* */
|
|
363 {'o', '^', 203}, /* */
|
|
364 {'o', '"', 204}, /* */
|
|
365 {'o', '`', 205}, /* */
|
|
366 {'o', '\'', 206}, /* */
|
|
367 {'o', '~', 207}, /* */
|
|
368 {'1', '1', 218}, /* */
|
|
369 {'u', '^', 219}, /* */
|
|
370 {'u', '"', 220}, /* */
|
|
371 {'u', '`', 221}, /* */
|
|
372 {'u', '\'', 222}, /* */
|
|
373 {':', '-', 225}, /* - division symbol in ISO 8859-1 */
|
|
374 {'o', 'e', 225}, /* - oe in ISO 8859-15 */
|
|
375 {'2', '2', 234}, /* */
|
|
376 {'O', '^', 235}, /* */
|
|
377 {'O', '"', 236}, /* */
|
|
378 {'O', '`', 237}, /* */
|
|
379 {'O', '\'', 238}, /* */
|
|
380 {'O', '~', 239}, /* */
|
|
381 {'3', '3', 250}, /* */
|
|
382 {'U', '^', 251}, /* */
|
|
383 {'U', '"', 252}, /* */
|
|
384 {'U', '`', 253}, /* */
|
|
385 {'U', '\'', 254}, /* */
|
|
386 {NUL, NUL, NUL}
|
|
387 };
|
|
388
|
|
389 # else
|
|
390 # if defined(MACOS) && !defined(FEAT_MBYTE)
|
|
391
|
|
392 /*
|
|
393 * Macintosh digraphs
|
|
394 */
|
|
395 {{'a', 't', 64}, /* @ */
|
|
396 {'A', '"', 128}, /* ~@ XX */
|
|
397 {'A', 'o', 129}, /* */
|
|
398 {'C', ',', 130}, /* */
|
|
399 {'E', '\'', 131}, /* */
|
|
400 {'N', '~', 132}, /* */
|
|
401 {'O', '"', 133}, /* */
|
|
402 {'U', '"', 134}, /* */
|
|
403 {'a', '\'', 135}, /* ~G XX */
|
|
404 {'a', '`', 136}, /* ~H XX */
|
|
405 {'a', '^', 137}, /* */
|
|
406 {'a', '"', 138}, /* */
|
|
407 {'a', '~', 139}, /* */
|
|
408 {'a', 'o', 140}, /* */
|
|
409 {'c', ',', 141}, /* */
|
|
410 {'e', '\'', 142}, /* */
|
|
411 {'e', '`', 143}, /* */
|
|
412 {'e', '^', 144}, /* */
|
|
413 {'e', '"', 145}, /* */
|
|
414 {'i', '\'', 146}, /* */
|
|
415 {'i', '`', 147}, /* */
|
|
416 {'i', '^', 148}, /* */
|
|
417 {'i', '"', 149}, /* */
|
|
418 {'n', '~', 150}, /* */
|
|
419 {'o', '\'', 151}, /* */
|
|
420 {'o', '`', 152}, /* */
|
|
421 {'o', '^', 153}, /* */
|
|
422 {'o', '"', 154}, /* */
|
|
423 {'o', '~', 155}, /* o */
|
|
424 {'u', '\'', 156}, /* */
|
|
425 {'u', '`', 157}, /* ~] XX */
|
|
426 {'u', '^', 158}, /* */
|
|
427 {'u', '"', 159}, /* */
|
|
428 {'+', '_', 160}, /* */
|
|
429 {'~', 'o', 161}, /* */
|
|
430 {'c', '|', 162}, /* */
|
|
431 {'$', '$', 163}, /* */
|
|
432 {'p', 'a', 164}, /* */
|
|
433 {'.', '.', 165}, /* * */
|
|
434 {'P', 'P', 166}, /* */
|
|
435 {'s', 's', 167}, /* */
|
|
436 {'r', 'O', 168}, /* */
|
|
437 {'c', 'O', 169}, /* */
|
|
438 {'T', 'M', 170}, /* */
|
|
439 {'=', '/', 173}, /* */
|
|
440 {'A', 'E', 174}, /* */
|
|
441 {'O', '/', 175}, /* */
|
|
442 {'0', '0', 176}, /* */
|
|
443 {'+', '-', 177}, /* */
|
|
444 {'<', '=', 178}, /* */
|
|
445 {'>', '=', 179}, /* */
|
|
446 {'Y', '-', 180}, /* */
|
|
447 {'j', 'u', 181}, /* */
|
|
448 {'m', 'u', 181}, /* */
|
|
449 {'d', 'd', 182}, /* */
|
|
450 {'S', 'S', 183}, /* */
|
|
451 {'S', 'I', 183}, /* */
|
|
452 {'P', 'I', 184}, /* */
|
|
453 {'p', 'i', 185}, /* */
|
|
454 {'I', 'I', 186}, /* */
|
|
455 {'a', '-', 187}, /* */
|
|
456 {'o', '-', 188}, /* */
|
|
457 {'O', 'M', 189}, /* */
|
|
458 {'a', 'e', 190}, /* */
|
|
459 {'o', '/', 191}, /* */
|
|
460 {'~', '?', 192}, /* */
|
|
461 {'~', '!', 193}, /* */
|
|
462 {'-', ',', 194}, /* */
|
|
463 {'v', '-', 195}, /* ~H XX */
|
|
464 {'f', '-', 196}, /* */
|
|
465 {'~', '~', 197}, /* */
|
|
466 {'D', 'E', 198}, /* */
|
|
467 {'<', '<', 199}, /* */
|
|
468 {'>', '>', 200}, /* */
|
|
469 {'.', ':', 201}, /* */
|
|
470 {'A', '`', 203}, /* */
|
|
471 {'A', '~', 204}, /* */
|
|
472 {'O', '~', 205}, /* */
|
|
473 {'O', 'E', 206}, /* */
|
|
474 {'o', 'e', 207}, /* */
|
|
475 {'-', '.', 208}, /* - */
|
|
476 {'-', '-', 209}, /* - */
|
|
477 {'`', '`', 210}, /* " */
|
|
478 {'\'', '\'', 211}, /* " */
|
|
479 {'`', ' ', 212}, /* ' */
|
|
480 {'\'', ' ', 213}, /* ' */
|
|
481 {'-', ':', 214}, /* */
|
|
482 {'D', 'I', 215}, /* */
|
|
483 {'y', ':', 216}, /* */
|
|
484 {'Y', ':', 217}, /* */
|
|
485 {'/', '/', 218}, /* */
|
|
486 {'E', '=', 219}, /* Euro System >=8.5 */
|
|
487 {'o', 'x', 219}, /* Currency System <=8.1*/
|
|
488 {'<', ' ', 220}, /* */
|
|
489 {'>', ' ', 221}, /* */
|
|
490 {'f', 'i', 222}, /* */
|
|
491 {'f', 'l', 223}, /* */
|
|
492 {'+', '+', 224}, /* */
|
|
493 {'~', '.', 225}, /* */
|
|
494 {',', ' ', 226}, /* */
|
|
495 {',', ',', 227}, /* */
|
|
496 {'%', '.', 228}, /* */
|
|
497 {'%', '0', 228}, /* */
|
|
498 {'A', '^', 229}, /* */
|
|
499 {'E', '^', 230}, /* */
|
|
500 {'A', '\'', 231}, /* */
|
|
501 {'E', '"', 232}, /* */
|
|
502 {'E', '`', 233}, /* */
|
|
503 {'I', '\'', 234}, /* */
|
|
504 {'I', '^', 235}, /* */
|
|
505 {'I', '"', 236}, /* */
|
|
506 {'I', '`', 237}, /* */
|
|
507 {'O', '\'', 238}, /* */
|
|
508 {'O', '^', 239}, /* */
|
|
509 {'A', 'P', 240}, /* */
|
|
510 {'O', '`', 241}, /* */
|
|
511 {'U', '\'', 242}, /* */
|
|
512 {'U', '^', 243}, /* */
|
|
513 {'U', '`', 244}, /* */
|
|
514 {'i', '.', 245}, /* */
|
|
515 {NUL, NUL, NUL}
|
|
516 };
|
|
517
|
|
518 # else /* !MACOS */
|
|
519
|
|
520 # ifdef OLD_DIGRAPHS
|
|
521
|
|
522 /*
|
|
523 * digraphs compatible with Vim 5.x
|
|
524 */
|
|
525 {{'~', '!', 161}, /* */
|
|
526 {'c', '|', 162}, /* */
|
|
527 {'$', '$', 163}, /* */
|
|
528 {'o', 'x', 164}, /* - currency symbol in ISO 8859-1 */
|
|
529 {'e', '=', 164}, /* - euro symbol in ISO 8859-15 */
|
|
530 {'Y', '-', 165}, /* */
|
|
531 {'|', '|', 166}, /* */
|
|
532 {'p', 'a', 167}, /* */
|
|
533 {'"', '"', 168}, /* */
|
|
534 {'c', 'O', 169}, /* */
|
|
535 {'a', '-', 170}, /* */
|
|
536 {'<', '<', 171}, /* */
|
|
537 {'-', ',', 172}, /* */
|
|
538 {'-', '-', 173}, /* */
|
|
539 {'r', 'O', 174}, /* */
|
|
540 {'-', '=', 175}, /* */
|
|
541 {'~', 'o', 176}, /* */
|
|
542 {'+', '-', 177}, /* */
|
|
543 {'2', '2', 178}, /* */
|
|
544 {'3', '3', 179}, /* */
|
|
545 {'\'', '\'', 180}, /* */
|
|
546 {'j', 'u', 181}, /* */
|
|
547 {'p', 'p', 182}, /* */
|
|
548 {'~', '.', 183}, /* */
|
|
549 {',', ',', 184}, /* */
|
|
550 {'1', '1', 185}, /* */
|
|
551 {'o', '-', 186}, /* */
|
|
552 {'>', '>', 187}, /* */
|
|
553 {'1', '4', 188}, /* */
|
|
554 {'1', '2', 189}, /* */
|
|
555 {'3', '4', 190}, /* */
|
|
556 {'~', '?', 191}, /* */
|
|
557 {'A', '`', 192}, /* */
|
|
558 {'A', '\'', 193}, /* */
|
|
559 {'A', '^', 194}, /* */
|
|
560 {'A', '~', 195}, /* */
|
|
561 {'A', '"', 196}, /* */
|
|
562 {'A', '@', 197}, /* */
|
|
563 {'A', 'A', 197}, /* */
|
|
564 {'A', 'E', 198}, /* */
|
|
565 {'C', ',', 199}, /* */
|
|
566 {'E', '`', 200}, /* */
|
|
567 {'E', '\'', 201}, /* */
|
|
568 {'E', '^', 202}, /* */
|
|
569 {'E', '"', 203}, /* */
|
|
570 {'I', '`', 204}, /* */
|
|
571 {'I', '\'', 205}, /* */
|
|
572 {'I', '^', 206}, /* */
|
|
573 {'I', '"', 207}, /* */
|
|
574 {'D', '-', 208}, /* */
|
|
575 {'N', '~', 209}, /* */
|
|
576 {'O', '`', 210}, /* */
|
|
577 {'O', '\'', 211}, /* */
|
|
578 {'O', '^', 212}, /* */
|
|
579 {'O', '~', 213}, /* */
|
|
580 {'O', '"', 214}, /* */
|
|
581 {'/', '\\', 215}, /* - multiplication symbol in ISO 8859-1 */
|
|
582 {'O', 'E', 215}, /* - OE in ISO 8859-15 */
|
|
583 {'O', '/', 216}, /* */
|
|
584 {'U', '`', 217}, /* */
|
|
585 {'U', '\'', 218}, /* */
|
|
586 {'U', '^', 219}, /* */
|
|
587 {'U', '"', 220}, /* */
|
|
588 {'Y', '\'', 221}, /* */
|
|
589 {'I', 'p', 222}, /* */
|
|
590 {'s', 's', 223}, /* */
|
|
591 {'a', '`', 224}, /* */
|
|
592 {'a', '\'', 225}, /* */
|
|
593 {'a', '^', 226}, /* */
|
|
594 {'a', '~', 227}, /* */
|
|
595 {'a', '"', 228}, /* */
|
|
596 {'a', '@', 229}, /* */
|
|
597 {'a', 'a', 229}, /* */
|
|
598 {'a', 'e', 230}, /* */
|
|
599 {'c', ',', 231}, /* */
|
|
600 {'e', '`', 232}, /* */
|
|
601 {'e', '\'', 233}, /* */
|
|
602 {'e', '^', 234}, /* */
|
|
603 {'e', '"', 235}, /* */
|
|
604 {'i', '`', 236}, /* */
|
|
605 {'i', '\'', 237}, /* */
|
|
606 {'i', '^', 238}, /* */
|
|
607 {'i', '"', 239}, /* */
|
|
608 {'d', '-', 240}, /* */
|
|
609 {'n', '~', 241}, /* */
|
|
610 {'o', '`', 242}, /* */
|
|
611 {'o', '\'', 243}, /* */
|
|
612 {'o', '^', 244}, /* */
|
|
613 {'o', '~', 245}, /* */
|
|
614 {'o', '"', 246}, /* */
|
|
615 {':', '-', 247}, /* - division symbol in ISO 8859-1 */
|
|
616 {'o', 'e', 247}, /* - oe in ISO 8859-15 */
|
|
617 {'o', '/', 248}, /* */
|
|
618 {'u', '`', 249}, /* */
|
|
619 {'u', '\'', 250}, /* */
|
|
620 {'u', '^', 251}, /* */
|
|
621 {'u', '"', 252}, /* */
|
|
622 {'y', '\'', 253}, /* */
|
|
623 {'i', 'p', 254}, /* */
|
|
624 {'y', '"', 255}, /* x XX */
|
|
625 {NUL, NUL, NUL}
|
|
626 };
|
|
627 # else /* OLD_DIGRAPHS */
|
|
628
|
|
629 /*
|
|
630 * digraphs for Unicode from RFC1345
|
|
631 * (also work for ISO-8859-1 aka latin1)
|
|
632 */
|
|
633 {
|
|
634 {'N', 'U', 0x0a}, /* LF for NUL */
|
|
635 {'S', 'H', 0x01},
|
|
636 {'S', 'X', 0x02},
|
|
637 {'E', 'X', 0x03},
|
|
638 {'E', 'T', 0x04},
|
|
639 {'E', 'Q', 0x05},
|
|
640 {'A', 'K', 0x06},
|
|
641 {'B', 'L', 0x07},
|
|
642 {'B', 'S', 0x08},
|
|
643 {'H', 'T', 0x09},
|
|
644 {'L', 'F', 0x0a},
|
|
645 {'V', 'T', 0x0b},
|
|
646 {'F', 'F', 0x0c},
|
|
647 {'C', 'R', 0x0d},
|
|
648 {'S', 'O', 0x0e},
|
|
649 {'S', 'I', 0x0f},
|
|
650 {'D', 'L', 0x10},
|
|
651 {'D', '1', 0x11},
|
|
652 {'D', '2', 0x12},
|
|
653 {'D', '3', 0x13},
|
|
654 {'D', '4', 0x14},
|
|
655 {'N', 'K', 0x15},
|
|
656 {'S', 'Y', 0x16},
|
|
657 {'E', 'B', 0x17},
|
|
658 {'C', 'N', 0x18},
|
|
659 {'E', 'M', 0x19},
|
|
660 {'S', 'B', 0x1a},
|
|
661 {'E', 'C', 0x1b},
|
|
662 {'F', 'S', 0x1c},
|
|
663 {'G', 'S', 0x1d},
|
|
664 {'R', 'S', 0x1e},
|
|
665 {'U', 'S', 0x1f},
|
|
666 {'S', 'P', 0x20},
|
|
667 {'N', 'b', 0x23},
|
|
668 {'D', 'O', 0x24},
|
|
669 {'A', 't', 0x40},
|
|
670 {'<', '(', 0x5b},
|
|
671 {'/', '/', 0x5c},
|
|
672 {')', '>', 0x5d},
|
|
673 {'\'', '>', 0x5e},
|
|
674 {'\'', '!', 0x60},
|
|
675 {'(', '!', 0x7b},
|
|
676 {'!', '!', 0x7c},
|
|
677 {'!', ')', 0x7d},
|
|
678 {'\'', '?', 0x7e},
|
|
679 {'D', 'T', 0x7f},
|
|
680 {'P', 'A', 0x80},
|
|
681 {'H', 'O', 0x81},
|
|
682 {'B', 'H', 0x82},
|
|
683 {'N', 'H', 0x83},
|
|
684 {'I', 'N', 0x84},
|
|
685 {'N', 'L', 0x85},
|
|
686 {'S', 'A', 0x86},
|
|
687 {'E', 'S', 0x87},
|
|
688 {'H', 'S', 0x88},
|
|
689 {'H', 'J', 0x89},
|
|
690 {'V', 'S', 0x8a},
|
|
691 {'P', 'D', 0x8b},
|
|
692 {'P', 'U', 0x8c},
|
|
693 {'R', 'I', 0x8d},
|
|
694 {'S', '2', 0x8e},
|
|
695 {'S', '3', 0x8f},
|
|
696 {'D', 'C', 0x90},
|
|
697 {'P', '1', 0x91},
|
|
698 {'P', '2', 0x92},
|
|
699 {'T', 'S', 0x93},
|
|
700 {'C', 'C', 0x94},
|
|
701 {'M', 'W', 0x95},
|
|
702 {'S', 'G', 0x96},
|
|
703 {'E', 'G', 0x97},
|
|
704 {'S', 'S', 0x98},
|
|
705 {'G', 'C', 0x99},
|
|
706 {'S', 'C', 0x9a},
|
|
707 {'C', 'I', 0x9b},
|
|
708 {'S', 'T', 0x9c},
|
|
709 {'O', 'C', 0x9d},
|
|
710 {'P', 'M', 0x9e},
|
|
711 {'A', 'C', 0x9f},
|
|
712 {'N', 'S', 0xa0},
|
|
713 {'!', 'I', 0xa1},
|
|
714 {'C', 't', 0xa2},
|
|
715 {'P', 'd', 0xa3},
|
|
716 {'C', 'u', 0xa4},
|
|
717 {'Y', 'e', 0xa5},
|
|
718 {'B', 'B', 0xa6},
|
|
719 {'S', 'E', 0xa7},
|
|
720 {'\'', ':', 0xa8},
|
|
721 {'C', 'o', 0xa9},
|
|
722 {'-', 'a', 0xaa},
|
|
723 {'<', '<', 0xab},
|
|
724 {'N', 'O', 0xac},
|
|
725 {'-', '-', 0xad},
|
|
726 {'R', 'g', 0xae},
|
|
727 {'\'', 'm', 0xaf},
|
|
728 {'D', 'G', 0xb0},
|
|
729 {'+', '-', 0xb1},
|
|
730 {'2', 'S', 0xb2},
|
|
731 {'3', 'S', 0xb3},
|
|
732 {'\'', '\'', 0xb4},
|
|
733 {'M', 'y', 0xb5},
|
|
734 {'P', 'I', 0xb6},
|
|
735 {'.', 'M', 0xb7},
|
|
736 {'\'', ',', 0xb8},
|
|
737 {'1', 'S', 0xb9},
|
|
738 {'-', 'o', 0xba},
|
|
739 {'>', '>', 0xbb},
|
|
740 {'1', '4', 0xbc},
|
|
741 {'1', '2', 0xbd},
|
|
742 {'3', '4', 0xbe},
|
|
743 {'?', 'I', 0xbf},
|
|
744 {'A', '!', 0xc0},
|
|
745 {'A', '\'', 0xc1},
|
|
746 {'A', '>', 0xc2},
|
|
747 {'A', '?', 0xc3},
|
|
748 {'A', ':', 0xc4},
|
|
749 {'A', 'A', 0xc5},
|
|
750 {'A', 'E', 0xc6},
|
|
751 {'C', ',', 0xc7},
|
|
752 {'E', '!', 0xc8},
|
|
753 {'E', '\'', 0xc9},
|
|
754 {'E', '>', 0xca},
|
|
755 {'E', ':', 0xcb},
|
|
756 {'I', '!', 0xcc},
|
|
757 {'I', '\'', 0xcd},
|
|
758 {'I', '>', 0xce},
|
|
759 {'I', ':', 0xcf},
|
|
760 {'D', '-', 0xd0},
|
|
761 {'N', '?', 0xd1},
|
|
762 {'O', '!', 0xd2},
|
|
763 {'O', '\'', 0xd3},
|
|
764 {'O', '>', 0xd4},
|
|
765 {'O', '?', 0xd5},
|
|
766 {'O', ':', 0xd6},
|
|
767 {'*', 'X', 0xd7},
|
|
768 {'O', '/', 0xd8},
|
|
769 {'U', '!', 0xd9},
|
|
770 {'U', '\'', 0xda},
|
|
771 {'U', '>', 0xdb},
|
|
772 {'U', ':', 0xdc},
|
|
773 {'Y', '\'', 0xdd},
|
|
774 {'T', 'H', 0xde},
|
|
775 {'s', 's', 0xdf},
|
|
776 {'a', '!', 0xe0},
|
|
777 {'a', '\'', 0xe1},
|
|
778 {'a', '>', 0xe2},
|
|
779 {'a', '?', 0xe3},
|
|
780 {'a', ':', 0xe4},
|
|
781 {'a', 'a', 0xe5},
|
|
782 {'a', 'e', 0xe6},
|
|
783 {'c', ',', 0xe7},
|
|
784 {'e', '!', 0xe8},
|
|
785 {'e', '\'', 0xe9},
|
|
786 {'e', '>', 0xea},
|
|
787 {'e', ':', 0xeb},
|
|
788 {'i', '!', 0xec},
|
|
789 {'i', '\'', 0xed},
|
|
790 {'i', '>', 0xee},
|
|
791 {'i', ':', 0xef},
|
|
792 {'d', '-', 0xf0},
|
|
793 {'n', '?', 0xf1},
|
|
794 {'o', '!', 0xf2},
|
|
795 {'o', '\'', 0xf3},
|
|
796 {'o', '>', 0xf4},
|
|
797 {'o', '?', 0xf5},
|
|
798 {'o', ':', 0xf6},
|
|
799 {'-', ':', 0xf7},
|
|
800 {'o', '/', 0xf8},
|
|
801 {'u', '!', 0xf9},
|
|
802 {'u', '\'', 0xfa},
|
|
803 {'u', '>', 0xfb},
|
|
804 {'u', ':', 0xfc},
|
|
805 {'y', '\'', 0xfd},
|
|
806 {'t', 'h', 0xfe},
|
|
807 {'y', ':', 0xff},
|
|
808
|
|
809 # ifdef FEAT_MBYTE
|
|
810 # define USE_UNICODE_DIGRAPHS
|
|
811
|
|
812 {'A', '-', 0x0100},
|
|
813 {'a', '-', 0x0101},
|
|
814 {'A', '(', 0x0102},
|
|
815 {'a', '(', 0x0103},
|
|
816 {'A', ';', 0x0104},
|
|
817 {'a', ';', 0x0105},
|
|
818 {'C', '\'', 0x0106},
|
|
819 {'c', '\'', 0x0107},
|
|
820 {'C', '>', 0x0108},
|
|
821 {'c', '>', 0x0109},
|
|
822 {'C', '.', 0x010a},
|
|
823 {'c', '.', 0x010b},
|
|
824 {'C', '<', 0x010c},
|
|
825 {'c', '<', 0x010d},
|
|
826 {'D', '<', 0x010e},
|
|
827 {'d', '<', 0x010f},
|
|
828 {'D', '/', 0x0110},
|
|
829 {'d', '/', 0x0111},
|
|
830 {'E', '-', 0x0112},
|
|
831 {'e', '-', 0x0113},
|
|
832 {'E', '(', 0x0114},
|
|
833 {'e', '(', 0x0115},
|
|
834 {'E', '.', 0x0116},
|
|
835 {'e', '.', 0x0117},
|
|
836 {'E', ';', 0x0118},
|
|
837 {'e', ';', 0x0119},
|
|
838 {'E', '<', 0x011a},
|
|
839 {'e', '<', 0x011b},
|
|
840 {'G', '>', 0x011c},
|
|
841 {'g', '>', 0x011d},
|
|
842 {'G', '(', 0x011e},
|
|
843 {'g', '(', 0x011f},
|
|
844 {'G', '.', 0x0120},
|
|
845 {'g', '.', 0x0121},
|
|
846 {'G', ',', 0x0122},
|
|
847 {'g', ',', 0x0123},
|
|
848 {'H', '>', 0x0124},
|
|
849 {'h', '>', 0x0125},
|
|
850 {'H', '/', 0x0126},
|
|
851 {'h', '/', 0x0127},
|
|
852 {'I', '?', 0x0128},
|
|
853 {'i', '?', 0x0129},
|
|
854 {'I', '-', 0x012a},
|
|
855 {'i', '-', 0x012b},
|
|
856 {'I', '(', 0x012c},
|
|
857 {'i', '(', 0x012d},
|
|
858 {'I', ';', 0x012e},
|
|
859 {'i', ';', 0x012f},
|
|
860 {'I', '.', 0x0130},
|
|
861 {'i', '.', 0x0131},
|
|
862 {'I', 'J', 0x0132},
|
|
863 {'i', 'j', 0x0133},
|
|
864 {'J', '>', 0x0134},
|
|
865 {'j', '>', 0x0135},
|
|
866 {'K', ',', 0x0136},
|
|
867 {'k', ',', 0x0137},
|
|
868 {'k', 'k', 0x0138},
|
|
869 {'L', '\'', 0x0139},
|
|
870 {'l', '\'', 0x013a},
|
|
871 {'L', ',', 0x013b},
|
|
872 {'l', ',', 0x013c},
|
|
873 {'L', '<', 0x013d},
|
|
874 {'l', '<', 0x013e},
|
|
875 {'L', '.', 0x013f},
|
|
876 {'l', '.', 0x0140},
|
|
877 {'L', '/', 0x0141},
|
|
878 {'l', '/', 0x0142},
|
|
879 {'N', '\'', 0x0143},
|
|
880 {'n', '\'', 0x0144},
|
|
881 {'N', ',', 0x0145},
|
|
882 {'n', ',', 0x0146},
|
|
883 {'N', '<', 0x0147},
|
|
884 {'n', '<', 0x0148},
|
|
885 {'\'', 'n', 0x0149},
|
|
886 {'N', 'G', 0x014a},
|
|
887 {'n', 'g', 0x014b},
|
|
888 {'O', '-', 0x014c},
|
|
889 {'o', '-', 0x014d},
|
|
890 {'O', '(', 0x014e},
|
|
891 {'o', '(', 0x014f},
|
|
892 {'O', '"', 0x0150},
|
|
893 {'o', '"', 0x0151},
|
|
894 {'O', 'E', 0x0152},
|
|
895 {'o', 'e', 0x0153},
|
|
896 {'R', '\'', 0x0154},
|
|
897 {'r', '\'', 0x0155},
|
|
898 {'R', ',', 0x0156},
|
|
899 {'r', ',', 0x0157},
|
|
900 {'R', '<', 0x0158},
|
|
901 {'r', '<', 0x0159},
|
|
902 {'S', '\'', 0x015a},
|
|
903 {'s', '\'', 0x015b},
|
|
904 {'S', '>', 0x015c},
|
|
905 {'s', '>', 0x015d},
|
|
906 {'S', ',', 0x015e},
|
|
907 {'s', ',', 0x015f},
|
|
908 {'S', '<', 0x0160},
|
|
909 {'s', '<', 0x0161},
|
|
910 {'T', ',', 0x0162},
|
|
911 {'t', ',', 0x0163},
|
|
912 {'T', '<', 0x0164},
|
|
913 {'t', '<', 0x0165},
|
|
914 {'T', '/', 0x0166},
|
|
915 {'t', '/', 0x0167},
|
|
916 {'U', '?', 0x0168},
|
|
917 {'u', '?', 0x0169},
|
|
918 {'U', '-', 0x016a},
|
|
919 {'u', '-', 0x016b},
|
|
920 {'U', '(', 0x016c},
|
|
921 {'u', '(', 0x016d},
|
|
922 {'U', '0', 0x016e},
|
|
923 {'u', '0', 0x016f},
|
|
924 {'U', '"', 0x0170},
|
|
925 {'u', '"', 0x0171},
|
|
926 {'U', ';', 0x0172},
|
|
927 {'u', ';', 0x0173},
|
|
928 {'W', '>', 0x0174},
|
|
929 {'w', '>', 0x0175},
|
|
930 {'Y', '>', 0x0176},
|
|
931 {'y', '>', 0x0177},
|
|
932 {'Y', ':', 0x0178},
|
|
933 {'Z', '\'', 0x0179},
|
|
934 {'z', '\'', 0x017a},
|
|
935 {'Z', '.', 0x017b},
|
|
936 {'z', '.', 0x017c},
|
|
937 {'Z', '<', 0x017d},
|
|
938 {'z', '<', 0x017e},
|
|
939 {'O', '9', 0x01a0},
|
|
940 {'o', '9', 0x01a1},
|
|
941 {'O', 'I', 0x01a2},
|
|
942 {'o', 'i', 0x01a3},
|
|
943 {'y', 'r', 0x01a6},
|
|
944 {'U', '9', 0x01af},
|
|
945 {'u', '9', 0x01b0},
|
|
946 {'Z', '/', 0x01b5},
|
|
947 {'z', '/', 0x01b6},
|
|
948 {'E', 'D', 0x01b7},
|
|
949 {'A', '<', 0x01cd},
|
|
950 {'a', '<', 0x01ce},
|
|
951 {'I', '<', 0x01cf},
|
|
952 {'i', '<', 0x01d0},
|
|
953 {'O', '<', 0x01d1},
|
|
954 {'o', '<', 0x01d2},
|
|
955 {'U', '<', 0x01d3},
|
|
956 {'u', '<', 0x01d4},
|
|
957 {'A', '1', 0x01de},
|
|
958 {'a', '1', 0x01df},
|
|
959 {'A', '7', 0x01e0},
|
|
960 {'a', '7', 0x01e1},
|
|
961 {'A', '3', 0x01e2},
|
|
962 {'a', '3', 0x01e3},
|
|
963 {'G', '/', 0x01e4},
|
|
964 {'g', '/', 0x01e5},
|
|
965 {'G', '<', 0x01e6},
|
|
966 {'g', '<', 0x01e7},
|
|
967 {'K', '<', 0x01e8},
|
|
968 {'k', '<', 0x01e9},
|
|
969 {'O', ';', 0x01ea},
|
|
970 {'o', ';', 0x01eb},
|
|
971 {'O', '1', 0x01ec},
|
|
972 {'o', '1', 0x01ed},
|
|
973 {'E', 'Z', 0x01ee},
|
|
974 {'e', 'z', 0x01ef},
|
|
975 {'j', '<', 0x01f0},
|
|
976 {'G', '\'', 0x01f4},
|
|
977 {'g', '\'', 0x01f5},
|
|
978 {';', 'S', 0x02bf},
|
|
979 {'\'', '<', 0x02c7},
|
|
980 {'\'', '(', 0x02d8},
|
|
981 {'\'', '.', 0x02d9},
|
|
982 {'\'', '0', 0x02da},
|
|
983 {'\'', ';', 0x02db},
|
|
984 {'\'', '"', 0x02dd},
|
|
985 {'A', '%', 0x0386},
|
|
986 {'E', '%', 0x0388},
|
|
987 {'Y', '%', 0x0389},
|
|
988 {'I', '%', 0x038a},
|
|
989 {'O', '%', 0x038c},
|
|
990 {'U', '%', 0x038e},
|
|
991 {'W', '%', 0x038f},
|
|
992 {'i', '3', 0x0390},
|
|
993 {'A', '*', 0x0391},
|
|
994 {'B', '*', 0x0392},
|
|
995 {'G', '*', 0x0393},
|
|
996 {'D', '*', 0x0394},
|
|
997 {'E', '*', 0x0395},
|
|
998 {'Z', '*', 0x0396},
|
|
999 {'Y', '*', 0x0397},
|
|
1000 {'H', '*', 0x0398},
|
|
1001 {'I', '*', 0x0399},
|
|
1002 {'K', '*', 0x039a},
|
|
1003 {'L', '*', 0x039b},
|
|
1004 {'M', '*', 0x039c},
|
|
1005 {'N', '*', 0x039d},
|
|
1006 {'C', '*', 0x039e},
|
|
1007 {'O', '*', 0x039f},
|
|
1008 {'P', '*', 0x03a0},
|
|
1009 {'R', '*', 0x03a1},
|
|
1010 {'S', '*', 0x03a3},
|
|
1011 {'T', '*', 0x03a4},
|
|
1012 {'U', '*', 0x03a5},
|
|
1013 {'F', '*', 0x03a6},
|
|
1014 {'X', '*', 0x03a7},
|
|
1015 {'Q', '*', 0x03a8},
|
|
1016 {'W', '*', 0x03a9},
|
|
1017 {'J', '*', 0x03aa},
|
|
1018 {'V', '*', 0x03ab},
|
|
1019 {'a', '%', 0x03ac},
|
|
1020 {'e', '%', 0x03ad},
|
|
1021 {'y', '%', 0x03ae},
|
|
1022 {'i', '%', 0x03af},
|
|
1023 {'u', '3', 0x03b0},
|
|
1024 {'a', '*', 0x03b1},
|
|
1025 {'b', '*', 0x03b2},
|
|
1026 {'g', '*', 0x03b3},
|
|
1027 {'d', '*', 0x03b4},
|
|
1028 {'e', '*', 0x03b5},
|
|
1029 {'z', '*', 0x03b6},
|
|
1030 {'y', '*', 0x03b7},
|
|
1031 {'h', '*', 0x03b8},
|
|
1032 {'i', '*', 0x03b9},
|
|
1033 {'k', '*', 0x03ba},
|
|
1034 {'l', '*', 0x03bb},
|
|
1035 {'m', '*', 0x03bc},
|
|
1036 {'n', '*', 0x03bd},
|
|
1037 {'c', '*', 0x03be},
|
|
1038 {'o', '*', 0x03bf},
|
|
1039 {'p', '*', 0x03c0},
|
|
1040 {'r', '*', 0x03c1},
|
|
1041 {'*', 's', 0x03c2},
|
|
1042 {'s', '*', 0x03c3},
|
|
1043 {'t', '*', 0x03c4},
|
|
1044 {'u', '*', 0x03c5},
|
|
1045 {'f', '*', 0x03c6},
|
|
1046 {'x', '*', 0x03c7},
|
|
1047 {'q', '*', 0x03c8},
|
|
1048 {'w', '*', 0x03c9},
|
|
1049 {'j', '*', 0x03ca},
|
|
1050 {'v', '*', 0x03cb},
|
|
1051 {'o', '%', 0x03cc},
|
|
1052 {'u', '%', 0x03cd},
|
|
1053 {'w', '%', 0x03ce},
|
|
1054 {'\'', 'G', 0x03d8},
|
|
1055 {',', 'G', 0x03d9},
|
|
1056 {'T', '3', 0x03da},
|
|
1057 {'t', '3', 0x03db},
|
|
1058 {'M', '3', 0x03dc},
|
|
1059 {'m', '3', 0x03dd},
|
|
1060 {'K', '3', 0x03de},
|
|
1061 {'k', '3', 0x03df},
|
|
1062 {'P', '3', 0x03e0},
|
|
1063 {'p', '3', 0x03e1},
|
|
1064 {'\'', '%', 0x03f4},
|
|
1065 {'j', '3', 0x03f5},
|
|
1066 {'I', 'O', 0x0401},
|
|
1067 {'D', '%', 0x0402},
|
|
1068 {'G', '%', 0x0403},
|
|
1069 {'I', 'E', 0x0404},
|
|
1070 {'D', 'S', 0x0405},
|
|
1071 {'I', 'I', 0x0406},
|
|
1072 {'Y', 'I', 0x0407},
|
|
1073 {'J', '%', 0x0408},
|
|
1074 {'L', 'J', 0x0409},
|
|
1075 {'N', 'J', 0x040a},
|
|
1076 {'T', 's', 0x040b},
|
|
1077 {'K', 'J', 0x040c},
|
|
1078 {'V', '%', 0x040e},
|
|
1079 {'D', 'Z', 0x040f},
|
|
1080 {'A', '=', 0x0410},
|
|
1081 {'B', '=', 0x0411},
|
|
1082 {'V', '=', 0x0412},
|
|
1083 {'G', '=', 0x0413},
|
|
1084 {'D', '=', 0x0414},
|
|
1085 {'E', '=', 0x0415},
|
|
1086 {'Z', '%', 0x0416},
|
|
1087 {'Z', '=', 0x0417},
|
|
1088 {'I', '=', 0x0418},
|
|
1089 {'J', '=', 0x0419},
|
|
1090 {'K', '=', 0x041a},
|
|
1091 {'L', '=', 0x041b},
|
|
1092 {'M', '=', 0x041c},
|
|
1093 {'N', '=', 0x041d},
|
|
1094 {'O', '=', 0x041e},
|
|
1095 {'P', '=', 0x041f},
|
|
1096 {'R', '=', 0x0420},
|
|
1097 {'S', '=', 0x0421},
|
|
1098 {'T', '=', 0x0422},
|
|
1099 {'U', '=', 0x0423},
|
|
1100 {'F', '=', 0x0424},
|
|
1101 {'H', '=', 0x0425},
|
|
1102 {'C', '=', 0x0426},
|
|
1103 {'C', '%', 0x0427},
|
|
1104 {'S', '%', 0x0428},
|
|
1105 {'S', 'c', 0x0429},
|
|
1106 {'=', '"', 0x042a},
|
|
1107 {'Y', '=', 0x042b},
|
|
1108 {'%', '"', 0x042c},
|
|
1109 {'J', 'E', 0x042d},
|
|
1110 {'J', 'U', 0x042e},
|
|
1111 {'J', 'A', 0x042f},
|
|
1112 {'a', '=', 0x0430},
|
|
1113 {'b', '=', 0x0431},
|
|
1114 {'v', '=', 0x0432},
|
|
1115 {'g', '=', 0x0433},
|
|
1116 {'d', '=', 0x0434},
|
|
1117 {'e', '=', 0x0435},
|
|
1118 {'z', '%', 0x0436},
|
|
1119 {'z', '=', 0x0437},
|
|
1120 {'i', '=', 0x0438},
|
|
1121 {'j', '=', 0x0439},
|
|
1122 {'k', '=', 0x043a},
|
|
1123 {'l', '=', 0x043b},
|
|
1124 {'m', '=', 0x043c},
|
|
1125 {'n', '=', 0x043d},
|
|
1126 {'o', '=', 0x043e},
|
|
1127 {'p', '=', 0x043f},
|
|
1128 {'r', '=', 0x0440},
|
|
1129 {'s', '=', 0x0441},
|
|
1130 {'t', '=', 0x0442},
|
|
1131 {'u', '=', 0x0443},
|
|
1132 {'f', '=', 0x0444},
|
|
1133 {'h', '=', 0x0445},
|
|
1134 {'c', '=', 0x0446},
|
|
1135 {'c', '%', 0x0447},
|
|
1136 {'s', '%', 0x0448},
|
|
1137 {'s', 'c', 0x0449},
|
|
1138 {'=', '\'', 0x044a},
|
|
1139 {'y', '=', 0x044b},
|
|
1140 {'%', '\'', 0x044c},
|
|
1141 {'j', 'e', 0x044d},
|
|
1142 {'j', 'u', 0x044e},
|
|
1143 {'j', 'a', 0x044f},
|
|
1144 {'i', 'o', 0x0451},
|
|
1145 {'d', '%', 0x0452},
|
|
1146 {'g', '%', 0x0453},
|
|
1147 {'i', 'e', 0x0454},
|
|
1148 {'d', 's', 0x0455},
|
|
1149 {'i', 'i', 0x0456},
|
|
1150 {'y', 'i', 0x0457},
|
|
1151 {'j', '%', 0x0458},
|
|
1152 {'l', 'j', 0x0459},
|
|
1153 {'n', 'j', 0x045a},
|
|
1154 {'t', 's', 0x045b},
|
|
1155 {'k', 'j', 0x045c},
|
|
1156 {'v', '%', 0x045e},
|
|
1157 {'d', 'z', 0x045f},
|
|
1158 {'Y', '3', 0x0462},
|
|
1159 {'y', '3', 0x0463},
|
|
1160 {'O', '3', 0x046a},
|
|
1161 {'o', '3', 0x046b},
|
|
1162 {'F', '3', 0x0472},
|
|
1163 {'f', '3', 0x0473},
|
|
1164 {'V', '3', 0x0474},
|
|
1165 {'v', '3', 0x0475},
|
|
1166 {'C', '3', 0x0480},
|
|
1167 {'c', '3', 0x0481},
|
|
1168 {'G', '3', 0x0490},
|
|
1169 {'g', '3', 0x0491},
|
|
1170 {'A', '+', 0x05d0},
|
|
1171 {'B', '+', 0x05d1},
|
|
1172 {'G', '+', 0x05d2},
|
|
1173 {'D', '+', 0x05d3},
|
|
1174 {'H', '+', 0x05d4},
|
|
1175 {'W', '+', 0x05d5},
|
|
1176 {'Z', '+', 0x05d6},
|
|
1177 {'X', '+', 0x05d7},
|
|
1178 {'T', 'j', 0x05d8},
|
|
1179 {'J', '+', 0x05d9},
|
|
1180 {'K', '%', 0x05da},
|
|
1181 {'K', '+', 0x05db},
|
|
1182 {'L', '+', 0x05dc},
|
|
1183 {'M', '%', 0x05dd},
|
|
1184 {'M', '+', 0x05de},
|
|
1185 {'N', '%', 0x05df},
|
|
1186 {'N', '+', 0x05e0},
|
|
1187 {'S', '+', 0x05e1},
|
|
1188 {'E', '+', 0x05e2},
|
|
1189 {'P', '%', 0x05e3},
|
|
1190 {'P', '+', 0x05e4},
|
|
1191 {'Z', 'j', 0x05e5},
|
|
1192 {'Z', 'J', 0x05e6},
|
|
1193 {'Q', '+', 0x05e7},
|
|
1194 {'R', '+', 0x05e8},
|
|
1195 {'S', 'h', 0x05e9},
|
|
1196 {'T', '+', 0x05ea},
|
|
1197 {',', '+', 0x060c},
|
|
1198 {';', '+', 0x061b},
|
|
1199 {'?', '+', 0x061f},
|
|
1200 {'H', '\'', 0x0621},
|
|
1201 {'a', 'M', 0x0622},
|
|
1202 {'a', 'H', 0x0623},
|
|
1203 {'w', 'H', 0x0624},
|
|
1204 {'a', 'h', 0x0625},
|
|
1205 {'y', 'H', 0x0626},
|
|
1206 {'a', '+', 0x0627},
|
|
1207 {'b', '+', 0x0628},
|
|
1208 {'t', 'm', 0x0629},
|
|
1209 {'t', '+', 0x062a},
|
|
1210 {'t', 'k', 0x062b},
|
|
1211 {'g', '+', 0x062c},
|
|
1212 {'h', 'k', 0x062d},
|
|
1213 {'x', '+', 0x062e},
|
|
1214 {'d', '+', 0x062f},
|
|
1215 {'d', 'k', 0x0630},
|
|
1216 {'r', '+', 0x0631},
|
|
1217 {'z', '+', 0x0632},
|
|
1218 {'s', '+', 0x0633},
|
|
1219 {'s', 'n', 0x0634},
|
|
1220 {'c', '+', 0x0635},
|
|
1221 {'d', 'd', 0x0636},
|
|
1222 {'t', 'j', 0x0637},
|
|
1223 {'z', 'H', 0x0638},
|
|
1224 {'e', '+', 0x0639},
|
|
1225 {'i', '+', 0x063a},
|
|
1226 {'+', '+', 0x0640},
|
|
1227 {'f', '+', 0x0641},
|
|
1228 {'q', '+', 0x0642},
|
|
1229 {'k', '+', 0x0643},
|
|
1230 {'l', '+', 0x0644},
|
|
1231 {'m', '+', 0x0645},
|
|
1232 {'n', '+', 0x0646},
|
|
1233 {'h', '+', 0x0647},
|
|
1234 {'w', '+', 0x0648},
|
|
1235 {'j', '+', 0x0649},
|
|
1236 {'y', '+', 0x064a},
|
|
1237 {':', '+', 0x064b},
|
|
1238 {'"', '+', 0x064c},
|
|
1239 {'=', '+', 0x064d},
|
|
1240 {'/', '+', 0x064e},
|
|
1241 {'\'', '+', 0x064f},
|
|
1242 {'1', '+', 0x0650},
|
|
1243 {'3', '+', 0x0651},
|
|
1244 {'0', '+', 0x0652},
|
|
1245 {'a', 'S', 0x0670},
|
|
1246 {'p', '+', 0x067e},
|
|
1247 {'v', '+', 0x06a4},
|
|
1248 {'g', 'f', 0x06af},
|
|
1249 {'0', 'a', 0x06f0},
|
|
1250 {'1', 'a', 0x06f1},
|
|
1251 {'2', 'a', 0x06f2},
|
|
1252 {'3', 'a', 0x06f3},
|
|
1253 {'4', 'a', 0x06f4},
|
|
1254 {'5', 'a', 0x06f5},
|
|
1255 {'6', 'a', 0x06f6},
|
|
1256 {'7', 'a', 0x06f7},
|
|
1257 {'8', 'a', 0x06f8},
|
|
1258 {'9', 'a', 0x06f9},
|
|
1259 {'B', '.', 0x1e02},
|
|
1260 {'b', '.', 0x1e03},
|
|
1261 {'B', '_', 0x1e06},
|
|
1262 {'b', '_', 0x1e07},
|
|
1263 {'D', '.', 0x1e0a},
|
|
1264 {'d', '.', 0x1e0b},
|
|
1265 {'D', '_', 0x1e0e},
|
|
1266 {'d', '_', 0x1e0f},
|
|
1267 {'D', ',', 0x1e10},
|
|
1268 {'d', ',', 0x1e11},
|
|
1269 {'F', '.', 0x1e1e},
|
|
1270 {'f', '.', 0x1e1f},
|
|
1271 {'G', '-', 0x1e20},
|
|
1272 {'g', '-', 0x1e21},
|
|
1273 {'H', '.', 0x1e22},
|
|
1274 {'h', '.', 0x1e23},
|
|
1275 {'H', ':', 0x1e26},
|
|
1276 {'h', ':', 0x1e27},
|
|
1277 {'H', ',', 0x1e28},
|
|
1278 {'h', ',', 0x1e29},
|
|
1279 {'K', '\'', 0x1e30},
|
|
1280 {'k', '\'', 0x1e31},
|
|
1281 {'K', '_', 0x1e34},
|
|
1282 {'k', '_', 0x1e35},
|
|
1283 {'L', '_', 0x1e3a},
|
|
1284 {'l', '_', 0x1e3b},
|
|
1285 {'M', '\'', 0x1e3e},
|
|
1286 {'m', '\'', 0x1e3f},
|
|
1287 {'M', '.', 0x1e40},
|
|
1288 {'m', '.', 0x1e41},
|
|
1289 {'N', '.', 0x1e44},
|
|
1290 {'n', '.', 0x1e45},
|
|
1291 {'N', '_', 0x1e48},
|
|
1292 {'n', '_', 0x1e49},
|
|
1293 {'P', '\'', 0x1e54},
|
|
1294 {'p', '\'', 0x1e55},
|
|
1295 {'P', '.', 0x1e56},
|
|
1296 {'p', '.', 0x1e57},
|
|
1297 {'R', '.', 0x1e58},
|
|
1298 {'r', '.', 0x1e59},
|
|
1299 {'R', '_', 0x1e5e},
|
|
1300 {'r', '_', 0x1e5f},
|
|
1301 {'S', '.', 0x1e60},
|
|
1302 {'s', '.', 0x1e61},
|
|
1303 {'T', '.', 0x1e6a},
|
|
1304 {'t', '.', 0x1e6b},
|
|
1305 {'T', '_', 0x1e6e},
|
|
1306 {'t', '_', 0x1e6f},
|
|
1307 {'V', '?', 0x1e7c},
|
|
1308 {'v', '?', 0x1e7d},
|
|
1309 {'W', '!', 0x1e80},
|
|
1310 {'w', '!', 0x1e81},
|
|
1311 {'W', '\'', 0x1e82},
|
|
1312 {'w', '\'', 0x1e83},
|
|
1313 {'W', ':', 0x1e84},
|
|
1314 {'w', ':', 0x1e85},
|
|
1315 {'W', '.', 0x1e86},
|
|
1316 {'w', '.', 0x1e87},
|
|
1317 {'X', '.', 0x1e8a},
|
|
1318 {'x', '.', 0x1e8b},
|
|
1319 {'X', ':', 0x1e8c},
|
|
1320 {'x', ':', 0x1e8d},
|
|
1321 {'Y', '.', 0x1e8e},
|
|
1322 {'y', '.', 0x1e8f},
|
|
1323 {'Z', '>', 0x1e90},
|
|
1324 {'z', '>', 0x1e91},
|
|
1325 {'Z', '_', 0x1e94},
|
|
1326 {'z', '_', 0x1e95},
|
|
1327 {'h', '_', 0x1e96},
|
|
1328 {'t', ':', 0x1e97},
|
|
1329 {'w', '0', 0x1e98},
|
|
1330 {'y', '0', 0x1e99},
|
|
1331 {'A', '2', 0x1ea2},
|
|
1332 {'a', '2', 0x1ea3},
|
|
1333 {'E', '2', 0x1eba},
|
|
1334 {'e', '2', 0x1ebb},
|
|
1335 {'E', '?', 0x1ebc},
|
|
1336 {'e', '?', 0x1ebd},
|
|
1337 {'I', '2', 0x1ec8},
|
|
1338 {'i', '2', 0x1ec9},
|
|
1339 {'O', '2', 0x1ece},
|
|
1340 {'o', '2', 0x1ecf},
|
|
1341 {'U', '2', 0x1ee6},
|
|
1342 {'u', '2', 0x1ee7},
|
|
1343 {'Y', '!', 0x1ef2},
|
|
1344 {'y', '!', 0x1ef3},
|
|
1345 {'Y', '2', 0x1ef6},
|
|
1346 {'y', '2', 0x1ef7},
|
|
1347 {'Y', '?', 0x1ef8},
|
|
1348 {'y', '?', 0x1ef9},
|
|
1349 {';', '\'', 0x1f00},
|
|
1350 {',', '\'', 0x1f01},
|
|
1351 {';', '!', 0x1f02},
|
|
1352 {',', '!', 0x1f03},
|
|
1353 {'?', ';', 0x1f04},
|
|
1354 {'?', ',', 0x1f05},
|
|
1355 {'!', ':', 0x1f06},
|
|
1356 {'?', ':', 0x1f07},
|
|
1357 {'1', 'N', 0x2002},
|
|
1358 {'1', 'M', 0x2003},
|
|
1359 {'3', 'M', 0x2004},
|
|
1360 {'4', 'M', 0x2005},
|
|
1361 {'6', 'M', 0x2006},
|
|
1362 {'1', 'T', 0x2009},
|
|
1363 {'1', 'H', 0x200a},
|
|
1364 {'-', '1', 0x2010},
|
|
1365 {'-', 'N', 0x2013},
|
|
1366 {'-', 'M', 0x2014},
|
|
1367 {'-', '3', 0x2015},
|
|
1368 {'!', '2', 0x2016},
|
|
1369 {'=', '2', 0x2017},
|
|
1370 {'\'', '6', 0x2018},
|
|
1371 {'\'', '9', 0x2019},
|
|
1372 {'.', '9', 0x201a},
|
|
1373 {'9', '\'', 0x201b},
|
|
1374 {'"', '6', 0x201c},
|
|
1375 {'"', '9', 0x201d},
|
|
1376 {':', '9', 0x201e},
|
|
1377 {'9', '"', 0x201f},
|
|
1378 {'/', '-', 0x2020},
|
|
1379 {'/', '=', 0x2021},
|
|
1380 {'.', '.', 0x2025},
|
|
1381 {'%', '0', 0x2030},
|
|
1382 {'1', '\'', 0x2032},
|
|
1383 {'2', '\'', 0x2033},
|
|
1384 {'3', '\'', 0x2034},
|
|
1385 {'1', '"', 0x2035},
|
|
1386 {'2', '"', 0x2036},
|
|
1387 {'3', '"', 0x2037},
|
|
1388 {'C', 'a', 0x2038},
|
|
1389 {'<', '1', 0x2039},
|
|
1390 {'>', '1', 0x203a},
|
|
1391 {':', 'X', 0x203b},
|
|
1392 {'\'', '-', 0x203e},
|
|
1393 {'/', 'f', 0x2044},
|
|
1394 {'0', 'S', 0x2070},
|
|
1395 {'4', 'S', 0x2074},
|
|
1396 {'5', 'S', 0x2075},
|
|
1397 {'6', 'S', 0x2076},
|
|
1398 {'7', 'S', 0x2077},
|
|
1399 {'8', 'S', 0x2078},
|
|
1400 {'9', 'S', 0x2079},
|
|
1401 {'+', 'S', 0x207a},
|
|
1402 {'-', 'S', 0x207b},
|
|
1403 {'=', 'S', 0x207c},
|
|
1404 {'(', 'S', 0x207d},
|
|
1405 {')', 'S', 0x207e},
|
|
1406 {'n', 'S', 0x207f},
|
|
1407 {'0', 's', 0x2080},
|
|
1408 {'1', 's', 0x2081},
|
|
1409 {'2', 's', 0x2082},
|
|
1410 {'3', 's', 0x2083},
|
|
1411 {'4', 's', 0x2084},
|
|
1412 {'5', 's', 0x2085},
|
|
1413 {'6', 's', 0x2086},
|
|
1414 {'7', 's', 0x2087},
|
|
1415 {'8', 's', 0x2088},
|
|
1416 {'9', 's', 0x2089},
|
|
1417 {'+', 's', 0x208a},
|
|
1418 {'-', 's', 0x208b},
|
|
1419 {'=', 's', 0x208c},
|
|
1420 {'(', 's', 0x208d},
|
|
1421 {')', 's', 0x208e},
|
|
1422 {'L', 'i', 0x20a4},
|
|
1423 {'P', 't', 0x20a7},
|
|
1424 {'W', '=', 0x20a9},
|
26
|
1425 {'=', 'e', 0x20ac}, /* euro */
|
7
|
1426 {'o', 'C', 0x2103},
|
|
1427 {'c', 'o', 0x2105},
|
|
1428 {'o', 'F', 0x2109},
|
|
1429 {'N', '0', 0x2116},
|
|
1430 {'P', 'O', 0x2117},
|
|
1431 {'R', 'x', 0x211e},
|
|
1432 {'S', 'M', 0x2120},
|
|
1433 {'T', 'M', 0x2122},
|
|
1434 {'O', 'm', 0x2126},
|
|
1435 {'A', 'O', 0x212b},
|
|
1436 {'1', '3', 0x2153},
|
|
1437 {'2', '3', 0x2154},
|
|
1438 {'1', '5', 0x2155},
|
|
1439 {'2', '5', 0x2156},
|
|
1440 {'3', '5', 0x2157},
|
|
1441 {'4', '5', 0x2158},
|
|
1442 {'1', '6', 0x2159},
|
|
1443 {'5', '6', 0x215a},
|
|
1444 {'1', '8', 0x215b},
|
|
1445 {'3', '8', 0x215c},
|
|
1446 {'5', '8', 0x215d},
|
|
1447 {'7', '8', 0x215e},
|
|
1448 {'1', 'R', 0x2160},
|
|
1449 {'2', 'R', 0x2161},
|
|
1450 {'3', 'R', 0x2162},
|
|
1451 {'4', 'R', 0x2163},
|
|
1452 {'5', 'R', 0x2164},
|
|
1453 {'6', 'R', 0x2165},
|
|
1454 {'7', 'R', 0x2166},
|
|
1455 {'8', 'R', 0x2167},
|
|
1456 {'9', 'R', 0x2168},
|
|
1457 {'a', 'R', 0x2169},
|
|
1458 {'b', 'R', 0x216a},
|
|
1459 {'c', 'R', 0x216b},
|
|
1460 {'1', 'r', 0x2170},
|
|
1461 {'2', 'r', 0x2171},
|
|
1462 {'3', 'r', 0x2172},
|
|
1463 {'4', 'r', 0x2173},
|
|
1464 {'5', 'r', 0x2174},
|
|
1465 {'6', 'r', 0x2175},
|
|
1466 {'7', 'r', 0x2176},
|
|
1467 {'8', 'r', 0x2177},
|
|
1468 {'9', 'r', 0x2178},
|
|
1469 {'a', 'r', 0x2179},
|
|
1470 {'b', 'r', 0x217a},
|
|
1471 {'c', 'r', 0x217b},
|
|
1472 {'<', '-', 0x2190},
|
|
1473 {'-', '!', 0x2191},
|
|
1474 {'-', '>', 0x2192},
|
|
1475 {'-', 'v', 0x2193},
|
|
1476 {'<', '>', 0x2194},
|
|
1477 {'U', 'D', 0x2195},
|
|
1478 {'<', '=', 0x21d0},
|
|
1479 {'=', '>', 0x21d2},
|
|
1480 {'=', '=', 0x21d4},
|
|
1481 {'F', 'A', 0x2200},
|
|
1482 {'d', 'P', 0x2202},
|
|
1483 {'T', 'E', 0x2203},
|
|
1484 {'/', '0', 0x2205},
|
|
1485 {'D', 'E', 0x2206},
|
|
1486 {'N', 'B', 0x2207},
|
|
1487 {'(', '-', 0x2208},
|
|
1488 {'-', ')', 0x220b},
|
|
1489 {'*', 'P', 0x220f},
|
|
1490 {'+', 'Z', 0x2211},
|
|
1491 {'-', '2', 0x2212},
|
|
1492 {'-', '+', 0x2213},
|
|
1493 {'*', '-', 0x2217},
|
|
1494 {'O', 'b', 0x2218},
|
|
1495 {'S', 'b', 0x2219},
|
|
1496 {'R', 'T', 0x221a},
|
|
1497 {'0', '(', 0x221d},
|
|
1498 {'0', '0', 0x221e},
|
|
1499 {'-', 'L', 0x221f},
|
|
1500 {'-', 'V', 0x2220},
|
|
1501 {'P', 'P', 0x2225},
|
|
1502 {'A', 'N', 0x2227},
|
|
1503 {'O', 'R', 0x2228},
|
|
1504 {'(', 'U', 0x2229},
|
|
1505 {')', 'U', 0x222a},
|
|
1506 {'I', 'n', 0x222b},
|
|
1507 {'D', 'I', 0x222c},
|
|
1508 {'I', 'o', 0x222e},
|
|
1509 {'.', ':', 0x2234},
|
|
1510 {':', '.', 0x2235},
|
|
1511 {':', 'R', 0x2236},
|
|
1512 {':', ':', 0x2237},
|
|
1513 {'?', '1', 0x223c},
|
|
1514 {'C', 'G', 0x223e},
|
|
1515 {'?', '-', 0x2243},
|
|
1516 {'?', '=', 0x2245},
|
|
1517 {'?', '2', 0x2248},
|
|
1518 {'=', '?', 0x224c},
|
|
1519 {'H', 'I', 0x2253},
|
|
1520 {'!', '=', 0x2260},
|
|
1521 {'=', '3', 0x2261},
|
|
1522 {'=', '<', 0x2264},
|
|
1523 {'>', '=', 0x2265},
|
|
1524 {'<', '*', 0x226a},
|
|
1525 {'*', '>', 0x226b},
|
|
1526 {'!', '<', 0x226e},
|
|
1527 {'!', '>', 0x226f},
|
|
1528 {'(', 'C', 0x2282},
|
|
1529 {')', 'C', 0x2283},
|
|
1530 {'(', '_', 0x2286},
|
|
1531 {')', '_', 0x2287},
|
|
1532 {'0', '.', 0x2299},
|
|
1533 {'0', '2', 0x229a},
|
|
1534 {'-', 'T', 0x22a5},
|
|
1535 {'.', 'P', 0x22c5},
|
|
1536 {':', '3', 0x22ee},
|
|
1537 {'.', '3', 0x22ef},
|
|
1538 {'E', 'h', 0x2302},
|
|
1539 {'<', '7', 0x2308},
|
|
1540 {'>', '7', 0x2309},
|
|
1541 {'7', '<', 0x230a},
|
|
1542 {'7', '>', 0x230b},
|
|
1543 {'N', 'I', 0x2310},
|
|
1544 {'(', 'A', 0x2312},
|
|
1545 {'T', 'R', 0x2315},
|
|
1546 {'I', 'u', 0x2320},
|
|
1547 {'I', 'l', 0x2321},
|
|
1548 {'<', '/', 0x2329},
|
|
1549 {'/', '>', 0x232a},
|
|
1550 {'V', 's', 0x2423},
|
|
1551 {'1', 'h', 0x2440},
|
|
1552 {'3', 'h', 0x2441},
|
|
1553 {'2', 'h', 0x2442},
|
|
1554 {'4', 'h', 0x2443},
|
|
1555 {'1', 'j', 0x2446},
|
|
1556 {'2', 'j', 0x2447},
|
|
1557 {'3', 'j', 0x2448},
|
|
1558 {'4', 'j', 0x2449},
|
|
1559 {'1', '.', 0x2488},
|
|
1560 {'2', '.', 0x2489},
|
|
1561 {'3', '.', 0x248a},
|
|
1562 {'4', '.', 0x248b},
|
|
1563 {'5', '.', 0x248c},
|
|
1564 {'6', '.', 0x248d},
|
|
1565 {'7', '.', 0x248e},
|
|
1566 {'8', '.', 0x248f},
|
|
1567 {'9', '.', 0x2490},
|
|
1568 {'h', 'h', 0x2500},
|
|
1569 {'H', 'H', 0x2501},
|
|
1570 {'v', 'v', 0x2502},
|
|
1571 {'V', 'V', 0x2503},
|
|
1572 {'3', '-', 0x2504},
|
|
1573 {'3', '_', 0x2505},
|
|
1574 {'3', '!', 0x2506},
|
|
1575 {'3', '/', 0x2507},
|
|
1576 {'4', '-', 0x2508},
|
|
1577 {'4', '_', 0x2509},
|
|
1578 {'4', '!', 0x250a},
|
|
1579 {'4', '/', 0x250b},
|
|
1580 {'d', 'r', 0x250c},
|
|
1581 {'d', 'R', 0x250d},
|
|
1582 {'D', 'r', 0x250e},
|
|
1583 {'D', 'R', 0x250f},
|
|
1584 {'d', 'l', 0x2510},
|
|
1585 {'d', 'L', 0x2511},
|
|
1586 {'D', 'l', 0x2512},
|
|
1587 {'L', 'D', 0x2513},
|
|
1588 {'u', 'r', 0x2514},
|
|
1589 {'u', 'R', 0x2515},
|
|
1590 {'U', 'r', 0x2516},
|
|
1591 {'U', 'R', 0x2517},
|
|
1592 {'u', 'l', 0x2518},
|
|
1593 {'u', 'L', 0x2519},
|
|
1594 {'U', 'l', 0x251a},
|
|
1595 {'U', 'L', 0x251b},
|
|
1596 {'v', 'r', 0x251c},
|
|
1597 {'v', 'R', 0x251d},
|
|
1598 {'V', 'r', 0x2520},
|
|
1599 {'V', 'R', 0x2523},
|
|
1600 {'v', 'l', 0x2524},
|
|
1601 {'v', 'L', 0x2525},
|
|
1602 {'V', 'l', 0x2528},
|
|
1603 {'V', 'L', 0x252b},
|
|
1604 {'d', 'h', 0x252c},
|
|
1605 {'d', 'H', 0x252f},
|
|
1606 {'D', 'h', 0x2530},
|
|
1607 {'D', 'H', 0x2533},
|
|
1608 {'u', 'h', 0x2534},
|
|
1609 {'u', 'H', 0x2537},
|
|
1610 {'U', 'h', 0x2538},
|
|
1611 {'U', 'H', 0x253b},
|
|
1612 {'v', 'h', 0x253c},
|
|
1613 {'v', 'H', 0x253f},
|
|
1614 {'V', 'h', 0x2542},
|
|
1615 {'V', 'H', 0x254b},
|
|
1616 {'F', 'D', 0x2571},
|
|
1617 {'B', 'D', 0x2572},
|
|
1618 {'T', 'B', 0x2580},
|
|
1619 {'L', 'B', 0x2584},
|
|
1620 {'F', 'B', 0x2588},
|
|
1621 {'l', 'B', 0x258c},
|
|
1622 {'R', 'B', 0x2590},
|
|
1623 {'.', 'S', 0x2591},
|
|
1624 {':', 'S', 0x2592},
|
|
1625 {'?', 'S', 0x2593},
|
|
1626 {'f', 'S', 0x25a0},
|
|
1627 {'O', 'S', 0x25a1},
|
|
1628 {'R', 'O', 0x25a2},
|
|
1629 {'R', 'r', 0x25a3},
|
|
1630 {'R', 'F', 0x25a4},
|
|
1631 {'R', 'Y', 0x25a5},
|
|
1632 {'R', 'H', 0x25a6},
|
|
1633 {'R', 'Z', 0x25a7},
|
|
1634 {'R', 'K', 0x25a8},
|
|
1635 {'R', 'X', 0x25a9},
|
|
1636 {'s', 'B', 0x25aa},
|
|
1637 {'S', 'R', 0x25ac},
|
|
1638 {'O', 'r', 0x25ad},
|
|
1639 {'U', 'T', 0x25b2},
|
|
1640 {'u', 'T', 0x25b3},
|
|
1641 {'P', 'R', 0x25b6},
|
|
1642 {'T', 'r', 0x25b7},
|
|
1643 {'D', 't', 0x25bc},
|
|
1644 {'d', 'T', 0x25bd},
|
|
1645 {'P', 'L', 0x25c0},
|
|
1646 {'T', 'l', 0x25c1},
|
|
1647 {'D', 'b', 0x25c6},
|
|
1648 {'D', 'w', 0x25c7},
|
|
1649 {'L', 'Z', 0x25ca},
|
|
1650 {'0', 'm', 0x25cb},
|
|
1651 {'0', 'o', 0x25ce},
|
|
1652 {'0', 'M', 0x25cf},
|
|
1653 {'0', 'L', 0x25d0},
|
|
1654 {'0', 'R', 0x25d1},
|
|
1655 {'S', 'n', 0x25d8},
|
|
1656 {'I', 'c', 0x25d9},
|
|
1657 {'F', 'd', 0x25e2},
|
|
1658 {'B', 'd', 0x25e3},
|
|
1659 {'*', '2', 0x2605},
|
|
1660 {'*', '1', 0x2606},
|
|
1661 {'<', 'H', 0x261c},
|
|
1662 {'>', 'H', 0x261e},
|
|
1663 {'0', 'u', 0x263a},
|
|
1664 {'0', 'U', 0x263b},
|
|
1665 {'S', 'U', 0x263c},
|
|
1666 {'F', 'm', 0x2640},
|
|
1667 {'M', 'l', 0x2642},
|
|
1668 {'c', 'S', 0x2660},
|
|
1669 {'c', 'H', 0x2661},
|
|
1670 {'c', 'D', 0x2662},
|
|
1671 {'c', 'C', 0x2663},
|
|
1672 {'M', 'd', 0x2669},
|
|
1673 {'M', '8', 0x266a},
|
|
1674 {'M', '2', 0x266b},
|
|
1675 {'M', 'b', 0x266d},
|
|
1676 {'M', 'x', 0x266e},
|
|
1677 {'M', 'X', 0x266f},
|
|
1678 {'O', 'K', 0x2713},
|
|
1679 {'X', 'X', 0x2717},
|
|
1680 {'-', 'X', 0x2720},
|
|
1681 {'I', 'S', 0x3000},
|
|
1682 {',', '_', 0x3001},
|
|
1683 {'.', '_', 0x3002},
|
|
1684 {'+', '"', 0x3003},
|
|
1685 {'+', '_', 0x3004},
|
|
1686 {'*', '_', 0x3005},
|
|
1687 {';', '_', 0x3006},
|
|
1688 {'0', '_', 0x3007},
|
|
1689 {'<', '+', 0x300a},
|
|
1690 {'>', '+', 0x300b},
|
|
1691 {'<', '\'', 0x300c},
|
|
1692 {'>', '\'', 0x300d},
|
|
1693 {'<', '"', 0x300e},
|
|
1694 {'>', '"', 0x300f},
|
|
1695 {'(', '"', 0x3010},
|
|
1696 {')', '"', 0x3011},
|
|
1697 {'=', 'T', 0x3012},
|
|
1698 {'=', '_', 0x3013},
|
|
1699 {'(', '\'', 0x3014},
|
|
1700 {')', '\'', 0x3015},
|
|
1701 {'(', 'I', 0x3016},
|
|
1702 {')', 'I', 0x3017},
|
|
1703 {'-', '?', 0x301c},
|
|
1704 {'A', '5', 0x3041},
|
|
1705 {'a', '5', 0x3042},
|
|
1706 {'I', '5', 0x3043},
|
|
1707 {'i', '5', 0x3044},
|
|
1708 {'U', '5', 0x3045},
|
|
1709 {'u', '5', 0x3046},
|
|
1710 {'E', '5', 0x3047},
|
|
1711 {'e', '5', 0x3048},
|
|
1712 {'O', '5', 0x3049},
|
|
1713 {'o', '5', 0x304a},
|
|
1714 {'k', 'a', 0x304b},
|
|
1715 {'g', 'a', 0x304c},
|
|
1716 {'k', 'i', 0x304d},
|
|
1717 {'g', 'i', 0x304e},
|
|
1718 {'k', 'u', 0x304f},
|
|
1719 {'g', 'u', 0x3050},
|
|
1720 {'k', 'e', 0x3051},
|
|
1721 {'g', 'e', 0x3052},
|
|
1722 {'k', 'o', 0x3053},
|
|
1723 {'g', 'o', 0x3054},
|
|
1724 {'s', 'a', 0x3055},
|
|
1725 {'z', 'a', 0x3056},
|
|
1726 {'s', 'i', 0x3057},
|
|
1727 {'z', 'i', 0x3058},
|
|
1728 {'s', 'u', 0x3059},
|
|
1729 {'z', 'u', 0x305a},
|
|
1730 {'s', 'e', 0x305b},
|
|
1731 {'z', 'e', 0x305c},
|
|
1732 {'s', 'o', 0x305d},
|
|
1733 {'z', 'o', 0x305e},
|
|
1734 {'t', 'a', 0x305f},
|
|
1735 {'d', 'a', 0x3060},
|
|
1736 {'t', 'i', 0x3061},
|
|
1737 {'d', 'i', 0x3062},
|
|
1738 {'t', 'U', 0x3063},
|
|
1739 {'t', 'u', 0x3064},
|
|
1740 {'d', 'u', 0x3065},
|
|
1741 {'t', 'e', 0x3066},
|
|
1742 {'d', 'e', 0x3067},
|
|
1743 {'t', 'o', 0x3068},
|
|
1744 {'d', 'o', 0x3069},
|
|
1745 {'n', 'a', 0x306a},
|
|
1746 {'n', 'i', 0x306b},
|
|
1747 {'n', 'u', 0x306c},
|
|
1748 {'n', 'e', 0x306d},
|
|
1749 {'n', 'o', 0x306e},
|
|
1750 {'h', 'a', 0x306f},
|
|
1751 {'b', 'a', 0x3070},
|
|
1752 {'p', 'a', 0x3071},
|
|
1753 {'h', 'i', 0x3072},
|
|
1754 {'b', 'i', 0x3073},
|
|
1755 {'p', 'i', 0x3074},
|
|
1756 {'h', 'u', 0x3075},
|
|
1757 {'b', 'u', 0x3076},
|
|
1758 {'p', 'u', 0x3077},
|
|
1759 {'h', 'e', 0x3078},
|
|
1760 {'b', 'e', 0x3079},
|
|
1761 {'p', 'e', 0x307a},
|
|
1762 {'h', 'o', 0x307b},
|
|
1763 {'b', 'o', 0x307c},
|
|
1764 {'p', 'o', 0x307d},
|
|
1765 {'m', 'a', 0x307e},
|
|
1766 {'m', 'i', 0x307f},
|
|
1767 {'m', 'u', 0x3080},
|
|
1768 {'m', 'e', 0x3081},
|
|
1769 {'m', 'o', 0x3082},
|
|
1770 {'y', 'A', 0x3083},
|
|
1771 {'y', 'a', 0x3084},
|
|
1772 {'y', 'U', 0x3085},
|
|
1773 {'y', 'u', 0x3086},
|
|
1774 {'y', 'O', 0x3087},
|
|
1775 {'y', 'o', 0x3088},
|
|
1776 {'r', 'a', 0x3089},
|
|
1777 {'r', 'i', 0x308a},
|
|
1778 {'r', 'u', 0x308b},
|
|
1779 {'r', 'e', 0x308c},
|
|
1780 {'r', 'o', 0x308d},
|
|
1781 {'w', 'A', 0x308e},
|
|
1782 {'w', 'a', 0x308f},
|
|
1783 {'w', 'i', 0x3090},
|
|
1784 {'w', 'e', 0x3091},
|
|
1785 {'w', 'o', 0x3092},
|
|
1786 {'n', '5', 0x3093},
|
|
1787 {'v', 'u', 0x3094},
|
|
1788 {'"', '5', 0x309b},
|
|
1789 {'0', '5', 0x309c},
|
|
1790 {'*', '5', 0x309d},
|
|
1791 {'+', '5', 0x309e},
|
|
1792 {'a', '6', 0x30a1},
|
|
1793 {'A', '6', 0x30a2},
|
|
1794 {'i', '6', 0x30a3},
|
|
1795 {'I', '6', 0x30a4},
|
|
1796 {'u', '6', 0x30a5},
|
|
1797 {'U', '6', 0x30a6},
|
|
1798 {'e', '6', 0x30a7},
|
|
1799 {'E', '6', 0x30a8},
|
|
1800 {'o', '6', 0x30a9},
|
|
1801 {'O', '6', 0x30aa},
|
|
1802 {'K', 'a', 0x30ab},
|
|
1803 {'G', 'a', 0x30ac},
|
|
1804 {'K', 'i', 0x30ad},
|
|
1805 {'G', 'i', 0x30ae},
|
|
1806 {'K', 'u', 0x30af},
|
|
1807 {'G', 'u', 0x30b0},
|
|
1808 {'K', 'e', 0x30b1},
|
|
1809 {'G', 'e', 0x30b2},
|
|
1810 {'K', 'o', 0x30b3},
|
|
1811 {'G', 'o', 0x30b4},
|
|
1812 {'S', 'a', 0x30b5},
|
|
1813 {'Z', 'a', 0x30b6},
|
|
1814 {'S', 'i', 0x30b7},
|
|
1815 {'Z', 'i', 0x30b8},
|
|
1816 {'S', 'u', 0x30b9},
|
|
1817 {'Z', 'u', 0x30ba},
|
|
1818 {'S', 'e', 0x30bb},
|
|
1819 {'Z', 'e', 0x30bc},
|
|
1820 {'S', 'o', 0x30bd},
|
|
1821 {'Z', 'o', 0x30be},
|
|
1822 {'T', 'a', 0x30bf},
|
|
1823 {'D', 'a', 0x30c0},
|
|
1824 {'T', 'i', 0x30c1},
|
|
1825 {'D', 'i', 0x30c2},
|
|
1826 {'T', 'U', 0x30c3},
|
|
1827 {'T', 'u', 0x30c4},
|
|
1828 {'D', 'u', 0x30c5},
|
|
1829 {'T', 'e', 0x30c6},
|
|
1830 {'D', 'e', 0x30c7},
|
|
1831 {'T', 'o', 0x30c8},
|
|
1832 {'D', 'o', 0x30c9},
|
|
1833 {'N', 'a', 0x30ca},
|
|
1834 {'N', 'i', 0x30cb},
|
|
1835 {'N', 'u', 0x30cc},
|
|
1836 {'N', 'e', 0x30cd},
|
|
1837 {'N', 'o', 0x30ce},
|
|
1838 {'H', 'a', 0x30cf},
|
|
1839 {'B', 'a', 0x30d0},
|
|
1840 {'P', 'a', 0x30d1},
|
|
1841 {'H', 'i', 0x30d2},
|
|
1842 {'B', 'i', 0x30d3},
|
|
1843 {'P', 'i', 0x30d4},
|
|
1844 {'H', 'u', 0x30d5},
|
|
1845 {'B', 'u', 0x30d6},
|
|
1846 {'P', 'u', 0x30d7},
|
|
1847 {'H', 'e', 0x30d8},
|
|
1848 {'B', 'e', 0x30d9},
|
|
1849 {'P', 'e', 0x30da},
|
|
1850 {'H', 'o', 0x30db},
|
|
1851 {'B', 'o', 0x30dc},
|
|
1852 {'P', 'o', 0x30dd},
|
|
1853 {'M', 'a', 0x30de},
|
|
1854 {'M', 'i', 0x30df},
|
|
1855 {'M', 'u', 0x30e0},
|
|
1856 {'M', 'e', 0x30e1},
|
|
1857 {'M', 'o', 0x30e2},
|
|
1858 {'Y', 'A', 0x30e3},
|
|
1859 {'Y', 'a', 0x30e4},
|
|
1860 {'Y', 'U', 0x30e5},
|
|
1861 {'Y', 'u', 0x30e6},
|
|
1862 {'Y', 'O', 0x30e7},
|
|
1863 {'Y', 'o', 0x30e8},
|
|
1864 {'R', 'a', 0x30e9},
|
|
1865 {'R', 'i', 0x30ea},
|
|
1866 {'R', 'u', 0x30eb},
|
|
1867 {'R', 'e', 0x30ec},
|
|
1868 {'R', 'o', 0x30ed},
|
|
1869 {'W', 'A', 0x30ee},
|
|
1870 {'W', 'a', 0x30ef},
|
|
1871 {'W', 'i', 0x30f0},
|
|
1872 {'W', 'e', 0x30f1},
|
|
1873 {'W', 'o', 0x30f2},
|
|
1874 {'N', '6', 0x30f3},
|
|
1875 {'V', 'u', 0x30f4},
|
|
1876 {'K', 'A', 0x30f5},
|
|
1877 {'K', 'E', 0x30f6},
|
|
1878 {'V', 'a', 0x30f7},
|
|
1879 {'V', 'i', 0x30f8},
|
|
1880 {'V', 'e', 0x30f9},
|
|
1881 {'V', 'o', 0x30fa},
|
|
1882 {'.', '6', 0x30fb},
|
|
1883 {'-', '6', 0x30fc},
|
|
1884 {'*', '6', 0x30fd},
|
|
1885 {'+', '6', 0x30fe},
|
|
1886 {'b', '4', 0x3105},
|
|
1887 {'p', '4', 0x3106},
|
|
1888 {'m', '4', 0x3107},
|
|
1889 {'f', '4', 0x3108},
|
|
1890 {'d', '4', 0x3109},
|
|
1891 {'t', '4', 0x310a},
|
|
1892 {'n', '4', 0x310b},
|
|
1893 {'l', '4', 0x310c},
|
|
1894 {'g', '4', 0x310d},
|
|
1895 {'k', '4', 0x310e},
|
|
1896 {'h', '4', 0x310f},
|
|
1897 {'j', '4', 0x3110},
|
|
1898 {'q', '4', 0x3111},
|
|
1899 {'x', '4', 0x3112},
|
|
1900 {'z', 'h', 0x3113},
|
|
1901 {'c', 'h', 0x3114},
|
|
1902 {'s', 'h', 0x3115},
|
|
1903 {'r', '4', 0x3116},
|
|
1904 {'z', '4', 0x3117},
|
|
1905 {'c', '4', 0x3118},
|
|
1906 {'s', '4', 0x3119},
|
|
1907 {'a', '4', 0x311a},
|
|
1908 {'o', '4', 0x311b},
|
|
1909 {'e', '4', 0x311c},
|
|
1910 {'a', 'i', 0x311e},
|
|
1911 {'e', 'i', 0x311f},
|
|
1912 {'a', 'u', 0x3120},
|
|
1913 {'o', 'u', 0x3121},
|
|
1914 {'a', 'n', 0x3122},
|
|
1915 {'e', 'n', 0x3123},
|
|
1916 {'a', 'N', 0x3124},
|
|
1917 {'e', 'N', 0x3125},
|
|
1918 {'e', 'r', 0x3126},
|
|
1919 {'i', '4', 0x3127},
|
|
1920 {'u', '4', 0x3128},
|
|
1921 {'i', 'u', 0x3129},
|
|
1922 {'v', '4', 0x312a},
|
|
1923 {'n', 'G', 0x312b},
|
|
1924 {'g', 'n', 0x312c},
|
|
1925 {'1', 'c', 0x3220},
|
|
1926 {'2', 'c', 0x3221},
|
|
1927 {'3', 'c', 0x3222},
|
|
1928 {'4', 'c', 0x3223},
|
|
1929 {'5', 'c', 0x3224},
|
|
1930 {'6', 'c', 0x3225},
|
|
1931 {'7', 'c', 0x3226},
|
|
1932 {'8', 'c', 0x3227},
|
|
1933 {'9', 'c', 0x3228},
|
|
1934 {' ', ' ', 0xe000},
|
|
1935 {'/', 'c', 0xe001},
|
|
1936 {'U', 'A', 0xe002},
|
|
1937 {'U', 'B', 0xe003},
|
|
1938 {'"', '3', 0xe004},
|
|
1939 {'"', '1', 0xe005},
|
|
1940 {'"', '!', 0xe006},
|
|
1941 {'"', '\'', 0xe007},
|
|
1942 {'"', '>', 0xe008},
|
|
1943 {'"', '?', 0xe009},
|
|
1944 {'"', '-', 0xe00a},
|
|
1945 {'"', '(', 0xe00b},
|
|
1946 {'"', '.', 0xe00c},
|
|
1947 {'"', ':', 0xe00d},
|
|
1948 {'"', '0', 0xe00e},
|
|
1949 {'"', '"', 0xe00f},
|
|
1950 {'"', '<', 0xe010},
|
|
1951 {'"', ',', 0xe011},
|
|
1952 {'"', ';', 0xe012},
|
|
1953 {'"', '_', 0xe013},
|
|
1954 {'"', '=', 0xe014},
|
|
1955 {'"', '/', 0xe015},
|
|
1956 {'"', 'i', 0xe016},
|
|
1957 {'"', 'd', 0xe017},
|
|
1958 {'"', 'p', 0xe018},
|
|
1959 {';', ';', 0xe019},
|
|
1960 {',', ',', 0xe01a},
|
|
1961 {'b', '3', 0xe01b},
|
|
1962 {'C', 'i', 0xe01c},
|
|
1963 {'f', '(', 0xe01d},
|
|
1964 {'e', 'd', 0xe01e},
|
|
1965 {'a', 'm', 0xe01f},
|
|
1966 {'p', 'm', 0xe020},
|
|
1967 {'F', 'l', 0xe023},
|
|
1968 {'G', 'F', 0xe024},
|
|
1969 {'>', 'V', 0xe025},
|
|
1970 {'!', '*', 0xe026},
|
|
1971 {'?', '*', 0xe027},
|
|
1972 {'J', '<', 0xe028},
|
|
1973 {'f', 'f', 0xfb00},
|
|
1974 {'f', 'i', 0xfb01},
|
|
1975 {'f', 'l', 0xfb02},
|
|
1976 {'f', 't', 0xfb05},
|
|
1977 {'s', 't', 0xfb06},
|
|
1978 # endif /* FEAT_MBYTE */
|
|
1979 {NUL, NUL, NUL}
|
|
1980 };
|
|
1981
|
|
1982 # endif /* OLD_DIGRAPHS */
|
|
1983
|
|
1984 # endif /* Macintosh */
|
|
1985 # endif /* EBCDIC */
|
|
1986 # endif /* !HPUX_DIGRAPHS */
|
|
1987 # endif /* !__MINT__ */
|
|
1988 #endif /* !MSDOS && !OS2 */
|
|
1989
|
|
1990 /*
|
|
1991 * handle digraphs after typing a character
|
|
1992 */
|
|
1993 int
|
|
1994 do_digraph(c)
|
|
1995 int c;
|
|
1996 {
|
|
1997 static int backspaced; /* character before K_BS */
|
|
1998 static int lastchar; /* last typed character */
|
|
1999
|
|
2000 if (c == -1) /* init values */
|
|
2001 {
|
|
2002 backspaced = -1;
|
|
2003 }
|
|
2004 else if (p_dg)
|
|
2005 {
|
|
2006 if (backspaced >= 0)
|
|
2007 c = getdigraph(backspaced, c, FALSE);
|
|
2008 backspaced = -1;
|
|
2009 if ((c == K_BS || c == Ctrl_H) && lastchar >= 0)
|
|
2010 backspaced = lastchar;
|
|
2011 }
|
|
2012 lastchar = c;
|
|
2013 return c;
|
|
2014 }
|
|
2015
|
|
2016 /*
|
|
2017 * Get a digraph. Used after typing CTRL-K on the command line or in normal
|
|
2018 * mode.
|
|
2019 * Returns composed character, or NUL when ESC was used.
|
|
2020 */
|
|
2021 int
|
|
2022 get_digraph(cmdline)
|
|
2023 int cmdline; /* TRUE when called from the cmdline */
|
|
2024 {
|
|
2025 int c, cc;
|
|
2026
|
|
2027 ++no_mapping;
|
|
2028 ++allow_keys;
|
|
2029 c = safe_vgetc();
|
|
2030 --no_mapping;
|
|
2031 --allow_keys;
|
|
2032 if (c != ESC) /* ESC cancels CTRL-K */
|
|
2033 {
|
|
2034 if (IS_SPECIAL(c)) /* insert special key code */
|
|
2035 return c;
|
|
2036 if (cmdline)
|
|
2037 {
|
|
2038 if (char2cells(c) == 1
|
|
2039 #if defined(FEAT_CRYPT) || defined(FEAT_EVAL)
|
|
2040 && cmdline_star == 0
|
|
2041 #endif
|
|
2042 )
|
|
2043 putcmdline(c, TRUE);
|
|
2044 }
|
|
2045 #ifdef FEAT_CMDL_INFO
|
|
2046 else
|
|
2047 add_to_showcmd(c);
|
|
2048 #endif
|
|
2049 ++no_mapping;
|
|
2050 ++allow_keys;
|
|
2051 cc = safe_vgetc();
|
|
2052 --no_mapping;
|
|
2053 --allow_keys;
|
|
2054 if (cc != ESC) /* ESC cancels CTRL-K */
|
|
2055 return getdigraph(c, cc, TRUE);
|
|
2056 }
|
|
2057 return NUL;
|
|
2058 }
|
|
2059
|
|
2060 /*
|
|
2061 * Lookup the pair "char1", "char2" in the digraph tables.
|
|
2062 * If no match, return "char2".
|
|
2063 * If "meta" is TRUE and "char1" is a space, return "char2" | 0x80.
|
|
2064 */
|
|
2065 static int
|
|
2066 getexactdigraph(char1, char2, meta)
|
|
2067 int char1;
|
|
2068 int char2;
|
|
2069 int meta;
|
|
2070 {
|
|
2071 int i;
|
|
2072 int retval = 0;
|
|
2073 digr_T *dp;
|
|
2074
|
|
2075 if (IS_SPECIAL(char1) || IS_SPECIAL(char2))
|
|
2076 return char2;
|
|
2077
|
|
2078 /*
|
|
2079 * Search user digraphs first.
|
|
2080 */
|
|
2081 dp = (digr_T *)user_digraphs.ga_data;
|
|
2082 for (i = 0; i < user_digraphs.ga_len; ++i)
|
|
2083 {
|
|
2084 if ((int)dp->char1 == char1 && (int)dp->char2 == char2)
|
|
2085 {
|
|
2086 retval = dp->result;
|
|
2087 break;
|
|
2088 }
|
|
2089 ++dp;
|
|
2090 }
|
|
2091
|
|
2092 /*
|
|
2093 * Search default digraphs.
|
|
2094 */
|
|
2095 if (retval == 0)
|
|
2096 {
|
|
2097 dp = digraphdefault;
|
|
2098 for (i = 0; dp->char1 != 0; ++i)
|
|
2099 {
|
|
2100 if ((int)dp->char1 == char1 && (int)dp->char2 == char2)
|
|
2101 {
|
|
2102 retval = dp->result;
|
|
2103 break;
|
|
2104 }
|
|
2105 ++dp;
|
|
2106 }
|
|
2107 }
|
|
2108 #ifdef FEAT_MBYTE
|
|
2109 # ifdef USE_UNICODE_DIGRAPHS
|
|
2110 if (retval != 0 && !enc_utf8)
|
|
2111 {
|
|
2112 char_u buf[6], *to;
|
|
2113 vimconv_T vc;
|
|
2114
|
|
2115 /*
|
|
2116 * Convert the Unicode digraph to 'encoding'.
|
|
2117 */
|
|
2118 i = utf_char2bytes(retval, buf);
|
|
2119 retval = 0;
|
|
2120 vc.vc_type = CONV_NONE;
|
|
2121 if (convert_setup(&vc, (char_u *)"utf-8", p_enc) == OK)
|
|
2122 {
|
|
2123 vc.vc_fail = TRUE;
|
|
2124 to = string_convert(&vc, buf, &i);
|
|
2125 if (to != NULL)
|
|
2126 {
|
|
2127 retval = (*mb_ptr2char)(to);
|
|
2128 vim_free(to);
|
|
2129 }
|
|
2130 (void)convert_setup(&vc, NULL, NULL);
|
|
2131 }
|
|
2132 }
|
|
2133 # endif
|
|
2134
|
|
2135 /* Ignore multi-byte characters when not in multi-byte mode. */
|
|
2136 if (!has_mbyte && retval > 0xff)
|
|
2137 retval = 0;
|
|
2138 #endif
|
|
2139
|
|
2140 if (retval == 0) /* digraph deleted or not found */
|
|
2141 {
|
|
2142 if (char1 == ' ' && meta) /* <space> <char> --> meta-char */
|
|
2143 return (char2 | 0x80);
|
|
2144 return char2;
|
|
2145 }
|
|
2146 return retval;
|
|
2147 }
|
|
2148
|
|
2149 /*
|
|
2150 * Get digraph.
|
|
2151 * Allow for both char1-char2 and char2-char1
|
|
2152 */
|
|
2153 int
|
|
2154 getdigraph(char1, char2, meta)
|
|
2155 int char1;
|
|
2156 int char2;
|
|
2157 int meta;
|
|
2158 {
|
|
2159 int retval;
|
|
2160
|
|
2161 if (((retval = getexactdigraph(char1, char2, meta)) == char2)
|
|
2162 && (char1 != char2)
|
|
2163 && ((retval = getexactdigraph(char2, char1, meta)) == char1))
|
|
2164 return char2;
|
|
2165 return retval;
|
|
2166 }
|
|
2167
|
|
2168 /*
|
|
2169 * Add the digraphs in the argument to the digraph table.
|
|
2170 * format: {c1}{c2} char {c1}{c2} char ...
|
|
2171 */
|
|
2172 void
|
|
2173 putdigraph(str)
|
|
2174 char_u *str;
|
|
2175 {
|
|
2176 int char1, char2, n;
|
|
2177 int i;
|
|
2178 digr_T *dp;
|
|
2179
|
|
2180 while (*str != NUL)
|
|
2181 {
|
|
2182 str = skipwhite(str);
|
|
2183 if (*str == NUL)
|
|
2184 return;
|
|
2185 char1 = *str++;
|
|
2186 char2 = *str++;
|
|
2187 if (char2 == 0)
|
|
2188 {
|
|
2189 EMSG(_(e_invarg));
|
|
2190 return;
|
|
2191 }
|
|
2192 if (char1 == ESC || char2 == ESC)
|
|
2193 {
|
|
2194 EMSG(_("E104: Escape not allowed in digraph"));
|
|
2195 return;
|
|
2196 }
|
|
2197 str = skipwhite(str);
|
|
2198 if (!VIM_ISDIGIT(*str))
|
|
2199 {
|
|
2200 EMSG(_(e_number_exp));
|
|
2201 return;
|
|
2202 }
|
|
2203 n = getdigits(&str);
|
|
2204
|
|
2205 /* If the digraph already exists, replace the result. */
|
|
2206 dp = (digr_T *)user_digraphs.ga_data;
|
|
2207 for (i = 0; i < user_digraphs.ga_len; ++i)
|
|
2208 {
|
|
2209 if ((int)dp->char1 == char1 && (int)dp->char2 == char2)
|
|
2210 {
|
|
2211 dp->result = n;
|
|
2212 break;
|
|
2213 }
|
|
2214 ++dp;
|
|
2215 }
|
|
2216
|
|
2217 /* Add a new digraph to the table. */
|
|
2218 if (i == user_digraphs.ga_len)
|
|
2219 {
|
|
2220 if (ga_grow(&user_digraphs, 1) == OK)
|
|
2221 {
|
|
2222 dp = (digr_T *)user_digraphs.ga_data + user_digraphs.ga_len;
|
|
2223 dp->char1 = char1;
|
|
2224 dp->char2 = char2;
|
|
2225 dp->result = n;
|
|
2226 ++user_digraphs.ga_len;
|
|
2227 }
|
|
2228 }
|
|
2229 }
|
|
2230 }
|
|
2231
|
|
2232 void
|
|
2233 listdigraphs()
|
|
2234 {
|
|
2235 int i;
|
|
2236 digr_T *dp;
|
|
2237
|
|
2238 msg_putchar('\n');
|
|
2239
|
|
2240 dp = digraphdefault;
|
|
2241 for (i = 0; dp->char1 != NUL && !got_int; ++i)
|
|
2242 {
|
|
2243 #if defined(USE_UNICODE_DIGRAPHS) && defined(FEAT_MBYTE)
|
|
2244 digr_T tmp;
|
|
2245
|
|
2246 /* May need to convert the result to 'encoding'. */
|
|
2247 tmp.char1 = dp->char1;
|
|
2248 tmp.char2 = dp->char2;
|
|
2249 tmp.result = getexactdigraph(tmp.char1, tmp.char2, FALSE);
|
|
2250 if (tmp.result != 0 && tmp.result != tmp.char2
|
|
2251 && (has_mbyte || tmp.result <= 255))
|
|
2252 printdigraph(&tmp);
|
|
2253 #else
|
|
2254
|
|
2255 if (getexactdigraph(dp->char1, dp->char2, FALSE) == dp->result
|
|
2256 # ifdef FEAT_MBYTE
|
|
2257 && (has_mbyte || dp->result <= 255)
|
|
2258 # endif
|
|
2259 )
|
|
2260 printdigraph(dp);
|
|
2261 #endif
|
|
2262 ++dp;
|
|
2263 ui_breakcheck();
|
|
2264 }
|
|
2265
|
|
2266 dp = (digr_T *)user_digraphs.ga_data;
|
|
2267 for (i = 0; i < user_digraphs.ga_len && !got_int; ++i)
|
|
2268 {
|
|
2269 printdigraph(dp);
|
|
2270 ui_breakcheck();
|
|
2271 ++dp;
|
|
2272 }
|
|
2273 must_redraw = CLEAR; /* clear screen, because some digraphs may be
|
|
2274 wrong, in which case we messed up ScreenLines */
|
|
2275 }
|
|
2276
|
|
2277 static void
|
|
2278 printdigraph(dp)
|
|
2279 digr_T *dp;
|
|
2280 {
|
|
2281 char_u buf[30];
|
|
2282 char_u *p;
|
|
2283
|
|
2284 int list_width;
|
|
2285
|
|
2286 if ((dy_flags & DY_UHEX)
|
|
2287 #ifdef FEAT_MBYTE
|
|
2288 || has_mbyte
|
|
2289 #endif
|
|
2290 )
|
|
2291 list_width = 13;
|
|
2292 else
|
|
2293 list_width = 11;
|
|
2294
|
|
2295 if (dp->result != 0)
|
|
2296 {
|
|
2297 if (msg_col > Columns - list_width)
|
|
2298 msg_putchar('\n');
|
|
2299 if (msg_col)
|
|
2300 while (msg_col % list_width != 0)
|
|
2301 msg_putchar(' ');
|
|
2302
|
|
2303 p = buf;
|
|
2304 *p++ = dp->char1;
|
|
2305 *p++ = dp->char2;
|
|
2306 *p++ = ' ';
|
|
2307 #ifdef FEAT_MBYTE
|
|
2308 if (has_mbyte)
|
|
2309 {
|
|
2310 /* add a space to draw a composing char on */
|
|
2311 if (enc_utf8 && utf_iscomposing(dp->result))
|
|
2312 *p++ = ' ';
|
|
2313 p += (*mb_char2bytes)(dp->result, p);
|
|
2314 }
|
|
2315 else
|
|
2316 #endif
|
|
2317 *p++ = dp->result;
|
|
2318 if (char2cells(dp->result) == 1)
|
|
2319 *p++ = ' ';
|
|
2320 sprintf((char *)p, " %3d", dp->result);
|
|
2321 msg_outtrans(buf);
|
|
2322 }
|
|
2323 }
|
|
2324
|
|
2325 #endif /* FEAT_DIGRAPHS */
|
|
2326
|
|
2327 #if defined(FEAT_KEYMAP) || defined(PROTO)
|
|
2328
|
|
2329 /* structure used for b_kmap_ga.ga_data */
|
|
2330 typedef struct
|
|
2331 {
|
|
2332 char_u *from;
|
|
2333 char_u *to;
|
|
2334 } kmap_T;
|
|
2335
|
|
2336 #define KMAP_MAXLEN 20 /* maximum length of "from" or "to" */
|
|
2337
|
|
2338 static void keymap_unload __ARGS((void));
|
|
2339
|
|
2340 /*
|
|
2341 * Set up key mapping tables for the 'keymap' option
|
|
2342 */
|
|
2343 char_u *
|
|
2344 keymap_init()
|
|
2345 {
|
|
2346 curbuf->b_kmap_state &= ~KEYMAP_INIT;
|
|
2347
|
|
2348 if (*curbuf->b_p_keymap == NUL)
|
|
2349 {
|
|
2350 /* Stop any active keymap and clear the table. */
|
|
2351 keymap_unload();
|
|
2352 }
|
|
2353 else
|
|
2354 {
|
|
2355 char_u *buf;
|
|
2356
|
|
2357 /* Source the keymap file. It will contain a ":loadkeymap" command
|
|
2358 * which will call ex_loadkeymap() below. */
|
|
2359 buf = alloc((unsigned)(STRLEN(curbuf->b_p_keymap)
|
|
2360 # ifdef FEAT_MBYTE
|
|
2361 + STRLEN(p_enc)
|
|
2362 # endif
|
|
2363 + 14));
|
|
2364 if (buf == NULL)
|
|
2365 return e_outofmem;
|
|
2366
|
|
2367 # ifdef FEAT_MBYTE
|
|
2368 /* try finding "keymap/'keymap'_'encoding'.vim" in 'runtimepath' */
|
|
2369 sprintf((char *)buf, "keymap/%s_%s.vim", curbuf->b_p_keymap, p_enc);
|
|
2370 if (cmd_runtime(buf, FALSE) == FAIL)
|
|
2371 # endif
|
|
2372 {
|
|
2373 /* try finding "keymap/'keymap'.vim" in 'runtimepath' */
|
|
2374 sprintf((char *)buf, "keymap/%s.vim", curbuf->b_p_keymap);
|
|
2375 if (cmd_runtime(buf, FALSE) == FAIL)
|
|
2376 {
|
|
2377 vim_free(buf);
|
|
2378 return (char_u *)N_("E544: Keymap file not found");
|
|
2379 }
|
|
2380 }
|
|
2381 vim_free(buf);
|
|
2382 }
|
|
2383
|
|
2384 return NULL;
|
|
2385 }
|
|
2386
|
|
2387 /*
|
|
2388 * ":loadkeymap" command: load the following lines as the keymap.
|
|
2389 */
|
|
2390 void
|
|
2391 ex_loadkeymap(eap)
|
|
2392 exarg_T *eap;
|
|
2393 {
|
|
2394 char_u *line;
|
|
2395 char_u *p;
|
|
2396 char_u *s;
|
|
2397 kmap_T *kp;
|
|
2398 #define KMAP_LLEN 200 /* max length of "to" and "from" together */
|
|
2399 char_u buf[KMAP_LLEN + 11];
|
|
2400 int i;
|
|
2401 char_u *save_cpo = p_cpo;
|
|
2402
|
|
2403 if (!getline_equal(eap->getline, eap->cookie, getsourceline))
|
|
2404 {
|
|
2405 EMSG(_("E105: Using :loadkeymap not in a sourced file"));
|
|
2406 return;
|
|
2407 }
|
|
2408
|
|
2409 /*
|
|
2410 * Stop any active keymap and clear the table.
|
|
2411 */
|
|
2412 keymap_unload();
|
|
2413
|
|
2414 curbuf->b_kmap_state = 0;
|
|
2415 ga_init2(&curbuf->b_kmap_ga, (int)sizeof(kmap_T), 20);
|
|
2416
|
|
2417 /* Set 'cpoptions' to "C" to avoid line continuation. */
|
|
2418 p_cpo = (char_u *)"C";
|
|
2419
|
|
2420 /*
|
|
2421 * Get each line of the sourced file, break at the end.
|
|
2422 */
|
|
2423 for (;;)
|
|
2424 {
|
|
2425 line = eap->getline(0, eap->cookie, 0);
|
|
2426 if (line == NULL)
|
|
2427 break;
|
|
2428
|
|
2429 p = skipwhite(line);
|
|
2430 if (*p != '"' && *p != NUL && ga_grow(&curbuf->b_kmap_ga, 1) == OK)
|
|
2431 {
|
|
2432 kp = (kmap_T *)curbuf->b_kmap_ga.ga_data + curbuf->b_kmap_ga.ga_len;
|
|
2433 s = skiptowhite(p);
|
|
2434 kp->from = vim_strnsave(p, (int)(s - p));
|
|
2435 p = skipwhite(s);
|
|
2436 s = skiptowhite(p);
|
|
2437 kp->to = vim_strnsave(p, (int)(s - p));
|
|
2438
|
|
2439 if (kp->from == NULL || kp->to == NULL
|
|
2440 || STRLEN(kp->from) + STRLEN(kp->to) >= KMAP_LLEN)
|
|
2441 {
|
|
2442 vim_free(kp->from);
|
|
2443 vim_free(kp->to);
|
|
2444 }
|
|
2445 else
|
|
2446 ++curbuf->b_kmap_ga.ga_len;
|
|
2447 }
|
|
2448 vim_free(line);
|
|
2449 }
|
|
2450
|
|
2451 /*
|
|
2452 * setup ":lnoremap" to map the keys
|
|
2453 */
|
|
2454 for (i = 0; i < curbuf->b_kmap_ga.ga_len; ++i)
|
|
2455 {
|
274
|
2456 vim_snprintf((char *)buf, sizeof(buf), "<buffer> %s %s",
|
7
|
2457 ((kmap_T *)curbuf->b_kmap_ga.ga_data)[i].from,
|
|
2458 ((kmap_T *)curbuf->b_kmap_ga.ga_data)[i].to);
|
|
2459 (void)do_map(2, buf, LANGMAP, FALSE);
|
|
2460 }
|
|
2461
|
|
2462 p_cpo = save_cpo;
|
|
2463
|
|
2464 curbuf->b_kmap_state |= KEYMAP_LOADED;
|
|
2465 #ifdef FEAT_WINDOWS
|
|
2466 status_redraw_curbuf();
|
|
2467 #endif
|
|
2468 }
|
|
2469
|
|
2470 /*
|
|
2471 * Stop using 'keymap'.
|
|
2472 */
|
|
2473 static void
|
|
2474 keymap_unload()
|
|
2475 {
|
|
2476 char_u buf[KMAP_MAXLEN + 10];
|
|
2477 int i;
|
|
2478 char_u *save_cpo = p_cpo;
|
|
2479
|
|
2480 if (!(curbuf->b_kmap_state & KEYMAP_LOADED))
|
|
2481 return;
|
|
2482
|
|
2483 /* Set 'cpoptions' to "C" to avoid line continuation. */
|
|
2484 p_cpo = (char_u *)"C";
|
|
2485
|
|
2486 /* clear the ":lmap"s */
|
|
2487 for (i = 0; i < curbuf->b_kmap_ga.ga_len; ++i)
|
|
2488 {
|
274
|
2489 vim_snprintf((char *)buf, sizeof(buf), "<buffer> %s",
|
|
2490 ((kmap_T *)curbuf->b_kmap_ga.ga_data)[i].from);
|
7
|
2491 (void)do_map(1, buf, LANGMAP, FALSE);
|
|
2492 }
|
|
2493
|
|
2494 p_cpo = save_cpo;
|
|
2495
|
|
2496 ga_clear(&curbuf->b_kmap_ga);
|
|
2497 curbuf->b_kmap_state &= ~KEYMAP_LOADED;
|
|
2498 #ifdef FEAT_WINDOWS
|
|
2499 status_redraw_curbuf();
|
|
2500 #endif
|
|
2501 }
|
|
2502
|
|
2503 #endif /* FEAT_KEYMAP */
|
|
2504
|