|
1
|
1 #pragma once
|
|
|
2
|
|
|
3 static constexpr struct {
|
|
|
4 unsigned from;
|
|
|
5 const char* to;
|
|
|
6 } twoCharMappings[] = {
|
|
|
7 {0x00C6, "AE"},
|
|
|
8 {0x00E6, "ae"},
|
|
|
9 {0x00DF, "ss"},
|
|
|
10
|
|
|
11 #if 0
|
|
|
12 // umlauts
|
|
|
13 // the problem with these is that changing them to two-letter represenatations prevents search by non-umlaut vowel from working.
|
|
|
14 {0x00C4, "AE"},
|
|
|
15 {0x00E4, "ae"},
|
|
|
16 {0x00D6, "OE"},
|
|
|
17 {0x00F6, "oe"},
|
|
|
18 {0x00DC, "UE"},
|
|
|
19 {0x00FC, "ue"},
|
|
|
20 #endif
|
|
|
21
|
|
|
22 #if 0
|
|
|
23 // Incomplete list, hence disabled. Nobody uses these.
|
|
|
24 {0x01E2, "AE"},
|
|
|
25 {0x01FC, "AE"},
|
|
|
26 {0x01E3, "ae"},
|
|
|
27 {0x01FD, "ae"},
|
|
|
28 {0x0152, "OE"},
|
|
|
29 {0x0153, "oe"},
|
|
|
30 {0x0276, "oe"},
|
|
|
31 {0x01C3, "dz"},
|
|
|
32 {0x01C4, "DZ"},
|
|
|
33 {0x01C5, "Dz"},
|
|
|
34 {0x01C6, "dz"},
|
|
|
35 {0x01F1, "DZ"},
|
|
|
36 {0x01F2, "Dz"},
|
|
|
37 {0x01F3, "dz"},
|
|
|
38 {0x02A3, "dz"},
|
|
|
39 {0x02A5, "dz"},
|
|
|
40 {0x01C7, "LJ"},
|
|
|
41 {0x01C8, "Lj"},
|
|
|
42 {0x01C9, "lj"},
|
|
|
43 {0x01CA, "NJ"},
|
|
|
44 {0x01CB, "Nj"},
|
|
|
45 {0x01CC, "nj"},
|
|
|
46 {0x0132, "IJ"},
|
|
|
47 {0x0133, "ij"},
|
|
|
48 #endif
|
|
|
49 };
|