2 Copyright (C) 2014 Carl Hetherington <cth@carlh.net>
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 /* THIS FILE WAS AUTO-GENERATED BY iso6937.py */
23 #include "iso6937_tables.h"
27 map<char, wchar_t> sub::iso6937::grave;
28 map<char, wchar_t> sub::iso6937::acute;
29 map<char, wchar_t> sub::iso6937::circumflex;
30 map<char, wchar_t> sub::iso6937::tilde;
31 map<char, wchar_t> sub::iso6937::macron;
32 map<char, wchar_t> sub::iso6937::breve;
33 map<char, wchar_t> sub::iso6937::dot;
34 map<char, wchar_t> sub::iso6937::diaeresis;
35 map<char, wchar_t> sub::iso6937::ring;
36 map<char, wchar_t> sub::iso6937::cedilla;
37 map<char, wchar_t> sub::iso6937::double_acute;
38 map<char, wchar_t> sub::iso6937::ogonek;
39 map<char, wchar_t> sub::iso6937::caron;
40 map<char, wchar_t> sub::iso6937::main;
43 sub::make_iso6937_tables ()
45 using namespace sub::iso6937;
84 circumflex['A'] = 0x00C2;
85 circumflex['C'] = 0x0108;
86 circumflex['E'] = 0x00CA;
87 circumflex['G'] = 0x011C;
88 circumflex['H'] = 0x0124;
89 circumflex['I'] = 0x00CE;
90 circumflex['J'] = 0x0134;
91 circumflex['O'] = 0x00D4;
92 circumflex['S'] = 0x015C;
93 circumflex['U'] = 0x00DB;
94 circumflex['W'] = 0x0174;
95 circumflex['Y'] = 0x0176;
96 circumflex['a'] = 0x00E2;
97 circumflex['c'] = 0x0109;
98 circumflex['e'] = 0x00EA;
99 circumflex['g'] = 0x011D;
100 circumflex['h'] = 0x0125;
101 circumflex['i'] = 0x00EE;
102 circumflex['j'] = 0x0135;
103 circumflex['o'] = 0x00F4;
104 circumflex['s'] = 0x015D;
105 circumflex['u'] = 0x00FB;
106 circumflex['w'] = 0x0175;
107 circumflex['y'] = 0x0177;
120 macron['A'] = 0x0100;
121 macron['E'] = 0x0112;
122 macron['I'] = 0x012A;
123 macron['O'] = 0x014C;
124 macron['U'] = 0x016A;
125 macron['a'] = 0x0101;
126 macron['e'] = 0x0113;
127 macron['i'] = 0x012B;
128 macron['o'] = 0x014D;
129 macron['u'] = 0x016B;
148 diaeresis['A'] = 0x00C4;
149 diaeresis['E'] = 0x00CB;
150 diaeresis['I'] = 0x00CF;
151 diaeresis['O'] = 0x00D6;
152 diaeresis['U'] = 0x00DC;
153 diaeresis['Y'] = 0x0178;
154 diaeresis['a'] = 0x00E4;
155 diaeresis['e'] = 0x00EB;
156 diaeresis['i'] = 0x00EF;
157 diaeresis['o'] = 0x00F6;
158 diaeresis['u'] = 0x00FC;
159 diaeresis['y'] = 0x00FF;
166 cedilla['C'] = 0x00C7;
167 cedilla['G'] = 0x0122;
168 cedilla['K'] = 0x0136;
169 cedilla['L'] = 0x013B;
170 cedilla['N'] = 0x0145;
171 cedilla['R'] = 0x0156;
172 cedilla['S'] = 0x015E;
173 cedilla['T'] = 0x0162;
174 cedilla['c'] = 0x00E7;
175 cedilla['k'] = 0x0137;
176 cedilla['l'] = 0x013C;
177 cedilla['n'] = 0x0146;
178 cedilla['r'] = 0x0157;
179 cedilla['s'] = 0x015F;
180 cedilla['t'] = 0x0163;
182 double_acute['O'] = 0x0150;
183 double_acute['U'] = 0x0170;
184 double_acute['o'] = 0x0151;
185 double_acute['u'] = 0x0171;
187 ogonek['A'] = 0x0104;
188 ogonek['E'] = 0x0118;
189 ogonek['I'] = 0x012E;
190 ogonek['U'] = 0x0172;
191 ogonek['a'] = 0x0105;
192 ogonek['e'] = 0x0119;
193 ogonek['u'] = 0x0173;
194 ogonek['i'] = 0x012F;