1 |
4
|
ryan
|
<?php
|
2 |
|
|
|
3 |
19
|
stefan
|
// $Id$
|
4 |
4
|
ryan
|
|
5 |
317
|
stefan
|
/*
|
6 |
|
|
|
7 |
|
|
Website Baker Project <http://www.websitebaker.org/>
|
8 |
399
|
Ruebenwurz
|
Copyright (C) 2004-2007, Ryan Djurovich
|
9 |
317
|
stefan
|
|
10 |
|
|
Website Baker is free software; you can redistribute it and/or modify
|
11 |
|
|
it under the terms of the GNU General Public License as published by
|
12 |
|
|
the Free Software Foundation; either version 2 of the License, or
|
13 |
|
|
(at your option) any later version.
|
14 |
|
|
|
15 |
|
|
Website Baker is distributed in the hope that it will be useful,
|
16 |
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
17 |
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
18 |
|
|
GNU General Public License for more details.
|
19 |
|
|
|
20 |
|
|
You should have received a copy of the GNU General Public License
|
21 |
|
|
along with Website Baker; if not, write to the Free Software
|
22 |
|
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
23 |
|
|
|
24 |
4
|
ryan
|
*/
|
25 |
|
|
|
26 |
|
|
/*
|
27 |
|
|
Character Conversion file
|
28 |
452
|
Ruebenwurz
|
to convert some entities to there 7bit equivalents
|
29 |
4
|
ryan
|
*/
|
30 |
19
|
stefan
|
if(!defined('WB_URL')) {
|
31 |
|
|
header('Location: ../index.php');
|
32 |
286
|
stefan
|
exit(0);
|
33 |
19
|
stefan
|
}
|
34 |
4
|
ryan
|
|
35 |
|
|
$conversion_array = array(
|
36 |
452
|
Ruebenwurz
|
|
37 |
|
|
//### LATIN
|
38 |
|
|
'Á'=>'A','á'=>'a','Â'=>'A','â'=>'a','Æ'=>'AE','æ'=>'ae','À'=>'A','à'=>'a','Å'=>'A','å'=>'a','Ã'=>'A','ã'=>'a','Ä'=>'AE','ä'=>'ae',
|
39 |
|
|
'Ç'=>'C','ç'=>'c',
|
40 |
|
|
'É'=>'E','é'=>'e','Ê'=>'E','ê'=>'e','È'=>'E','è'=>'e','Ë'=>'E','ë'=>'e',
|
41 |
|
|
'Í'=>'I','í'=>'i','Î'=>'I','î'=>'i','Ì'=>'I','ì'=>'i','Ï'=>'I','ï'=>'i',
|
42 |
|
|
'Ñ'=>'N','ñ'=>'n',
|
43 |
|
|
'Ó'=>'O','ó'=>'o','Ô'=>'O','ô'=>'o','Œ'=>'OE','œ'=>'oe','Ò'=>'O','ò'=>'o','Õ'=>'O','õ'=>'o','Ö'=>'OE','ö'=>'oe',
|
44 |
|
|
'Š'=>'S','š'=>'s',
|
45 |
|
|
'ß'=>'ss',
|
46 |
|
|
'Ú'=>'U','ú'=>'u','Û'=>'U','û'=>'u','Ù'=>'U','ù'=>'u','Ü'=>'UE','ü'=>'ue',
|
47 |
|
|
'Ý'=>'Y','ý'=>'y','Ÿ'=>'Y','ÿ'=>'y',
|
48 |
|
|
'Š'=>'S',
|
49 |
|
|
'Œ'=>'OE','œ'=>'oe',
|
50 |
|
|
'š'=>'s',
|
51 |
|
|
'Ÿ'=>'Y',
|
52 |
|
|
'©'=>'(c)','®'=>'(r)','Ð'=>'D','×'=>'x','Ø'=>'O','Þ'=>'TH','ð'=>'d','ø'=>'o','þ'=>'th',
|
53 |
491
|
Ruebenwurz
|
'''=>'-','''=>'-','"'=>'-',
|
54 |
452
|
Ruebenwurz
|
// latin extended-A
|
55 |
|
|
'Ā'=>'A','ā'=>'a','Ă'=>'A','ă'=>'a','Ą'=>'A','ą'=>'a',
|
56 |
|
|
'Ć'=>'C','ć'=>'c','Ĉ'=>'C','ĉ'=>'c','č'=>'c','Č'=>'C','ċ'=>'c','Ċ'=>'C',
|
57 |
|
|
'đ'=>'d','Đ'=>'D','ď'=>'d','Ď'=>'D',
|
58 |
|
|
'ē'=>'e','Ē'=>'E','Ĕ'=>'E','ĕ'=>'e','Ė'=>'E','ė'=>'e','Ę'=>'E','ę'=>'e','Ě'=>'E','ě'=>'e',
|
59 |
|
|
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','Ị'=>'I','ị'=>'i',
|
148 |
|
|
'Ọ'=>'O','ọ'=>'o','Ỏ'=>'O','ỏ'=>'o','Ố'=>'O','ố'=>'o','Ồ'=>'O','ồ'=>'o','Ổ'=>'O','ổ'=>'o','Ỗ'=>'O','ỗ'=>'o',
|
149 |
|
|
'Ộ'=>'O','ộ'=>'o','Ớ'=>'O','ớ'=>'o','Ờ'=>'O','ờ'=>'o','Ở'=>'O','ở'=>'o','Ỡ'=>'O','ỡ'=>'o','Ợ'=>'O','ợ'=>'o',
|
150 |
|
|
'Ụ'=>'U','ụ'=>'u','Ủ'=>'U','ủ'=>'u','Ứ'=>'U','ứ'=>'u','Ừ'=>'U','ừ'=>'u','Ử'=>'U','ử'=>'u','Ữ'=>'U','ữ'=>'u','Ự'=>'U','ự'=>'u',
|
151 |
|
|
'Ỳ'=>'Y','ỳ'=>'y','Ỵ'=>'Y','ỵ'=>'y','Ỷ'=>'Y','ỷ'=>'y','Ỹ'=>'Y','ỹ'=>'y',
|
152 |
|
|
|
153 |
|
|
//### CYRILLIC (transliteration following iso 9:1995)
|
154 |
|
|
'А'=>'A','а'=>'a', // A
|
155 |
|
|
'Ӑ'=>'A','ӑ'=>'a', // A WITH BREVE
|
156 |
|
|
'Ӓ'=>'A','ӓ'=>'a', // A WITH DIAERESIS
|
157 |
|
|
'Ӕ'=>'A','ӕ'=>'a', // LIGATURE A IE
|
158 |
|
|
'Ә'=>'A','ә'=>'a', // SCHWA
|
159 |
|
|
'Ӛ'=>'A','ӛ'=>'a', // SCHWA WITH DIAERESIS
|
160 |
|
|
'Б'=>'B','б'=>'b', // BE
|
161 |
|
|
'В'=>'V','в'=>'v', // VE
|
162 |
|
|
'Г'=>'G','г'=>'g', // GHE
|
163 |
|
|
'Ґ'=>'G','ґ'=>'g', // GHE WITH UPTURN
|
164 |
|
|
'Ҕ'=>'G','ҕ'=>'g', // GHE WITH MIDDLE HOOK
|
165 |
|
|
'Ғ'=>'G','ғ'=>'g', // GHE WITH STROKE
|
166 |
|
|
'Ӷ'=>'G','ӷ'=>'g', // GHE WITH DESCENDER
|
167 |
|
|
'Д'=>'D','д'=>'d', // DE
|
168 |
|
|
'Ђ'=>'D','ђ'=>'d', // DJE
|
169 |
|
|
'Ѓ'=>'G','ѓ'=>'g', // GJE
|
170 |
|
|
'Ѐ'=>'E','ѐ'=>'e', // IE WITH GRAVE
|
171 |
|
|
'Е'=>'E','е'=>'e', // IE
|
172 |
|
|
'Ё'=>'E','ё'=>'e', // IO
|
173 |
|
|
'Ӗ'=>'E','ӗ'=>'e', // IE WITH BREVE
|
174 |
|
|
'Є'=>'E','є'=>'e', // UKRAINIAN IE
|
175 |
|
|
'Ҽ'=>'C','ҽ'=>'c', // ABKHASIAN CHE
|
176 |
|
|
'Ҿ'=>'C','ҿ'=>'c', // ABKHASIAN CHE WITH DESCENDER
|
177 |
|
|
'Ж'=>'Z','ж'=>'z', // ZHE
|
178 |
|
|
'Ӂ'=>'Z','ӂ'=>'z', // ZHE WITH BREVE
|
179 |
|
|
'Ӝ'=>'Z','ӝ'=>'z', // ZHE WITH DIAERESIS
|
180 |
|
|
'Җ'=>'Z','җ'=>'z', // ZHE WITH DESCENDER
|
181 |
|
|
'З'=>'Z','з'=>'z', // ZE
|
182 |
|
|
'Ӟ'=>'Z','ӟ'=>'z', // ZE WITH DIAERESIS
|
183 |
|
|
'Ѕ'=>'Z','ѕ'=>'z', // DZE
|
184 |
|
|
'Ӡ'=>'Z','ӡ'=>'z', // ABKHASIAN DZE
|
185 |
|
|
'Ѝ'=>'I','ѝ'=>'i', // I WITH GRAVE
|
186 |
|
|
'И'=>'I','и'=>'i', // I
|
187 |
|
|
'Ӣ'=>'I','ӣ'=>'i', // I WITH MACRON
|
188 |
|
|
'Ӥ'=>'I','ӥ'=>'i', // I WITH DIAERESIS
|
189 |
|
|
'І'=>'I','і'=>'i', // BYELORUSSIAN-UKRAINIAN I
|
190 |
|
|
'Ї'=>'I','ї'=>'i', // YI
|
191 |
|
|
'Й'=>'J','й'=>'j', // SHORT I
|
192 |
|
|
'Ј'=>'J','ј'=>'j', // JE
|
193 |
|
|
'К'=>'K','к'=>'k', // KA
|
194 |
|
|
'Қ'=>'K','қ'=>'k', // KA WITH DESCENDER
|
195 |
|
|
'Ҝ'=>'K','ҝ'=>'k', // KA WITH VERTICAL STROKE
|
196 |
|
|
'Ҟ'=>'K','ҟ'=>'k', // KA WITH STROKE
|
197 |
|
|
'Ҡ'=>'K','ҡ'=>'k', // BASHKIR KA
|
198 |
|
|
'Л'=>'L','л'=>'l', // EL
|
199 |
|
|
'Љ'=>'L','љ'=>'l', // LJE
|
200 |
|
|
'М'=>'M','м'=>'m', // EM
|
201 |
|
|
'Н'=>'N','н'=>'n', // EN
|
202 |
|
|
'Њ'=>'N','њ'=>'n', // NJE
|
203 |
|
|
'Ҥ'=>'N','ҥ'=>'n', // LIGATURE EN GHE
|
204 |
|
|
'Ң'=>'N','ң'=>'n', // EN WITH DESCENDER
|
205 |
|
|
'О'=>'O','о'=>'o', // O
|
206 |
|
|
'Ӧ'=>'O','ӧ'=>'o', // O WITH DIAERESIS
|
207 |
|
|
'Ө'=>'O','ө'=>'o', // BARRED O
|
208 |
|
|
'Ӫ'=>'O','ӫ'=>'o', // BARRED O WITH DIAERESIS
|
209 |
|
|
'П'=>'P','п'=>'p', // PE
|
210 |
|
|
'Ҧ'=>'P','ҧ'=>'p', // PE WITH MIDDLE HOOK
|
211 |
|
|
'Р'=>'R','р'=>'r', // ER
|
212 |
|
|
'С'=>'S','с'=>'s', // ES
|
213 |
|
|
'Ҫ'=>'C','ҫ'=>'c', // ES WITH DESCENDER
|
214 |
|
|
'Т'=>'T','т'=>'t', // TE
|
215 |
|
|
'Ҭ'=>'T','ҭ'=>'t', // TE WITH DESCENDER
|
216 |
|
|
'Ћ'=>'C','ћ'=>'c', // TSHE
|
217 |
|
|
'Ќ'=>'K','ќ'=>'k', // KJE
|
218 |
|
|
'У'=>'U','у'=>'u', // U
|
219 |
|
|
'Ў'=>'U','ў'=>'u', // SHORT U
|
220 |
|
|
'Ӯ'=>'U','ӯ'=>'u', // U WITH MACRON
|
221 |
|
|
'Ӱ'=>'U','ӱ'=>'u', // U WITH DIAERESIS
|
222 |
|
|
'Ӳ'=>'U','ӳ'=>'u', // U WITH DOUBLE ACUTE
|
223 |
|
|
'Ү'=>'U','ү'=>'u', // STRAIGHT U
|
224 |
|
|
'Ұ'=>'U','ұ'=>'u', // STRAIGHT U WITH STROKE
|
225 |
|
|
'Ф'=>'F','ф'=>'f', // EF
|
226 |
|
|
'Х'=>'H','х'=>'h', // HA
|
227 |
|
|
'Ҳ'=>'H','ҳ'=>'h', // HA WITH DESCENDER
|
228 |
|
|
'Һ'=>'H','һ'=>'h', // SHHA
|
229 |
|
|
'Ц'=>'C','ц'=>'c', // TSE
|
230 |
|
|
'Ҵ'=>'C','ҵ'=>'c', // LIGATURE TE TSE
|
231 |
|
|
'Ч'=>'C','ч'=>'c', // CHE
|
232 |
|
|
'Ӵ'=>'C','ӵ'=>'c', // CHE WITH DIAERESIS
|
233 |
|
|
'Ҷ'=>'C','ҷ'=>'c', // CHE WITH DESCENDER
|
234 |
|
|
'Ҹ'=>'C','ҹ'=>'c', // CHE WITH VERTICAL STROKE
|
235 |
|
|
'Џ'=>'D','џ'=>'d', // DZHE
|
236 |
|
|
'Ш'=>'S','ш'=>'s', // SHA
|
237 |
|
|
'Щ'=>'S','щ'=>'s', // SHCHA
|
238 |
|
|
'Ы'=>'Y','ы'=>'y', // YERU
|
239 |
|
|
'Ӹ'=>'Y','ӹ'=>'y', // YERU WITH DIAERESIS
|
240 |
|
|
'Э'=>'E','э'=>'e', // E
|
241 |
|
|
'Ӭ'=>'E','ӭ'=>'e', // E WITH DIAERESIS
|
242 |
|
|
'Ю'=>'U','ю'=>'u', // YU
|
243 |
|
|
'Я'=>'A','я'=>'a', // YA
|
244 |
|
|
'Ѣ'=>'E','ѣ'=>'e', // YAT
|
245 |
|
|
'Ѫ'=>'A','ѫ'=>'a', // BIG YUS
|
246 |
|
|
'Ѳ'=>'F','ѳ'=>'f', // FITA
|
247 |
|
|
'Ѵ'=>'Y','ѵ'=>'y', // IZHITSA
|
248 |
|
|
'Ѷ'=>'Y','ѷ'=>'y', // IZHITSA WITH DOUBLE GRAVE ACCENT
|
249 |
|
|
'Ҩ'=>'O','ҩ'=>'o', // ABKHASIAN HA
|
250 |
|
|
'Ѡ'=>'O','ѡ'=>'o', // OMEGA
|
251 |
|
|
'Ѥ'=>'E','ѥ'=>'e', // IOTIFIED E
|
252 |
|
|
'Ѧ'=>'U','ѧ'=>'u', // LITTLE YUS (???)
|
253 |
|
|
'Ѩ'=>'U','ѩ'=>'u', // IOTIFIED LITTLE YUS (???)
|
254 |
|
|
'Ѭ'=>'U','ѭ'=>'u', // IOTIFIED BIG YUS (???)
|
255 |
|
|
'Ѯ'=>'K','ѯ'=>'k', // KSI (???)
|
256 |
|
|
'Ѱ'=>'P','ѱ'=>'p', // PSI (???)
|
257 |
|
|
'Ѹ'=>'U','ѹ'=>'u', // UK
|
258 |
|
|
'Ѻ'=>'O','ѻ'=>'o', // ROUND OMEGA (???)
|
259 |
|
|
'Ѽ'=>'O','ѽ'=>'o', // OMEGA WITH TITLO (???)
|
260 |
|
|
'Ѿ'=>'O','ѿ'=>'o', // OT (???)
|
261 |
|
|
'Ҁ'=>'K','ҁ'=>'k', // KOPPA (???)
|
262 |
|
|
'Ҋ'=>'J','ҋ'=>'j', // SHORT I WITH TAIL
|
263 |
|
|
'Ҏ'=>'R','Ҏ'=>'r', // ER WITH TICK
|
264 |
|
|
'Ҙ'=>'Z','ҙ'=>'z', // ZE WITH DESCENDER
|
265 |
|
|
'Ӄ'=>'K','ӄ'=>'k', // KA WITH HOOK
|
266 |
|
|
'Ӆ'=>'L','ӆ'=>'l', // EL WITH TAIL
|
267 |
|
|
'Ӈ'=>'N','ӈ'=>'n', // EN WITH HOOK
|
268 |
|
|
'Ӊ'=>'N','ӊ'=>'n', // EN WITH TAIL
|
269 |
|
|
'Ӌ'=>'C','ӌ'=>'c', // KHAKASSIAN CHE
|
270 |
|
|
'Ӎ'=>'M','ӎ'=>'m', // EM WITH TAIL
|
271 |
|
|
// specialchars
|
272 |
|
|
'ъ'=>'-','Ъ'=>'-', // HARD SIGN
|
273 |
|
|
'Ь'=>'-','ь'=>'-', // SOFT SIGN
|
274 |
|
|
'Ҍ'=>'-', // SEMISOFT SIGN
|
275 |
|
|
'Ӏ'=>'-', // PALOCHKA
|
276 |
|
|
'́'=>'',
|
277 |
|
|
|
278 |
|
|
//### (new) GREEK (transcription following wikipedia: http://de.wikipedia.org/w/index.php?title=Wikipedia:Namenskonventionen/Neugriechisch&oldid=29601735 )
|
279 |
|
|
// groups of two chars
|
280 |
|
|
'αι'=>'e','Αι'=>'E',
|
281 |
|
|
'ει'=>'i','Ει'=>'I',
|
282 |
|
|
'οι'=>'i','Οι'=>'I',
|
283 |
|
|
'ου'=>'ou','Ου'=>'Ou',
|
284 |
|
|
'αυ'=>'av','Αυ'=>'Av',
|
285 |
|
|
'ευ'=>'ev','Ευ'=>'Ev',
|
286 |
|
|
'ηυ'=>'iv','Ηυ'=>'Iv',
|
287 |
|
|
'μπ'=>'mp','Μπ'=>'B',
|
288 |
|
|
'ντ'=>'nt','Ντ'=>'D',
|
289 |
|
|
'τζ'=>'tz','Τζ'=>'Tz',
|
290 |
|
|
'γκ'=>'ng','Γκ'=>'G',
|
291 |
|
|
'γγ'=>'ng','Γγ'=>'Ng',
|
292 |
|
|
// single chars
|
293 |
|
|
'Ά'=>'A','Έ'=>'E','Ή'=>'I','Ί'=>'I','Ό'=>'O','Ύ'=>'Y','Ώ'=>'O','ΐ'=>'i',
|
294 |
|
|
'Α'=>'A','Β'=>'V','Γ'=>'G','Δ'=>'D','Ε'=>'E','Ζ'=>'Z','Η'=>'I','Θ'=>'Th','Ι'=>'I','Κ'=>'K','Λ'=>'L','Μ'=>'M','Ν'=>'N','Ξ'=>'X','Ο'=>'O','Π'=>'P','Ρ'=>'R','Σ'=>'S','Τ'=>'T','Υ'=>'Y','Φ'=>'F','Χ'=>'Ch','Ψ'=>'Ps','Ω'=>'O',
|
295 |
|
|
'Ϊ'=>'I','Ϋ'=>'Y','ά'=>'a','έ'=>'e','ή'=>'i','ί'=>'i','ΰ'=>'y',
|
296 |
|
|
'α'=>'a','β'=>'v','γ'=>'g','δ'=>'d','ε'=>'e','ζ'=>'z','η'=>'i','θ'=>'th','ι'=>'i','κ'=>'k','λ'=>'l','μ'=>'m','ν'=>'n','ξ'=>'x','ο'=>'o','π'=>'p','ρ'=>'r','ς'=>'s','σ'=>'s','τ'=>'t','υ'=>'y','φ'=>'f','χ'=>'ch','ψ'=>'ps','ω'=>'o',
|
297 |
|
|
'ϊ'=>'i','ϋ'=>'y','ό'=>'o','ύ'=>'y','ώ'=>'o','ϐ'=>'b','ϑ'=>'th','ϒ'=>'y','ϓ'=>'y','ϔ'=>'y'
|
298 |
|
|
|
299 |
4
|
ryan
|
);
|
300 |
|
|
|
301 |
|
|
?>
|