Revision 230
Added by ryan about 19 years ago
trunk/wb/framework/convert.php | ||
---|---|---|
33 | 33 |
} |
34 | 34 |
|
35 | 35 |
$conversion_array = array( |
36 |
'À'=>'A','??'=>'A','Â'=>'A','Ã'=>'A','Ä'=>'Ae', 'Ä'=>'A',
|
|
36 |
'À'=>'A','�?'=>'A','Â'=>'A','Ã'=>'A','Ä'=>'Ae', 'Ä'=>'A',
|
|
37 | 37 |
'Å'=>'A','Ā'=>'A','Ą'=>'A','Ă'=>'A', 'Æ'=>'Ae', |
38 | 38 |
'Ç'=>'C','Ć'=>'C','Č'=>'C','Ĉ'=>'C','Ċ'=>'C', |
39 |
'Ď'=>'D','??'=>'D','??'=>'D',
|
|
39 |
'Ď'=>'D','�?'=>'D','�?'=>'D',
|
|
40 | 40 |
'È'=>'E','É'=>'E','Ê'=>'E','Ë'=>'E','Ē'=>'E', |
41 | 41 |
'Ę'=>'E','Ě'=>'E','Ĕ'=>'E','Ė'=>'E', |
42 | 42 |
'Ĝ'=>'G','Ğ'=>'G','Ġ'=>'G','Ģ'=>'G', |
43 | 43 |
'Ĥ'=>'H','Ħ'=>'H', |
44 |
'Ì'=>'I','??'=>'I','Î'=>'I','??'=>'I','Ī'=>'I', 'Ĩ'=>'I','Ĭ'=>'I','Į'=>'I','İ'=>'I',
|
|
44 |
'Ì'=>'I','�?'=>'I','Î'=>'I','�?'=>'I','Ī'=>'I', 'Ĩ'=>'I','Ĭ'=>'I','Į'=>'I','İ'=>'I',
|
|
45 | 45 |
'IJ'=>'IJ','Ĵ'=>'J','Ķ'=>'K', |
46 |
'??'=>'K','Ľ'=>'K','Ĺ'=>'K','Ļ'=>'K','Ŀ'=>'K',
|
|
46 |
'�?'=>'K','Ľ'=>'K','Ĺ'=>'K','Ļ'=>'K','Ŀ'=>'K',
|
|
47 | 47 |
'Ñ'=>'N','Ń'=>'N','Ň'=>'N','Ņ'=>'N','Ŋ'=>'N', |
48 | 48 |
'Ò'=>'O','Ó'=>'O','Ô'=>'O','Õ'=>'O','Ö'=>'Oe', |
49 |
'Ö'=>'Oe', 'Ø'=>'O','Ō'=>'O','??'=>'O','Ŏ'=>'O',
|
|
49 |
'Ö'=>'Oe', 'Ø'=>'O','Ō'=>'O','�?'=>'O','Ŏ'=>'O',
|
|
50 | 50 |
'Œ'=>'OE', 'Ŕ'=>'R','Ř'=>'R','Ŗ'=>'R', |
51 | 51 |
'Ś'=>'S','Š'=>'S','Ş'=>'S','Ŝ'=>'S','Ș'=>'S', |
52 | 52 |
'Ť'=>'T','Ţ'=>'T','Ŧ'=>'T','Ț'=>'T', |
53 | 53 |
'Ù'=>'U','Ú'=>'U','Û'=>'U','Ü'=>'Ue','Ū'=>'U', |
54 | 54 |
'Ü'=>'Ue', 'Ů'=>'U','Ű'=>'U','Ŭ'=>'U','Ũ'=>'U','Ų'=>'U', |
55 |
'Ŵ'=>'W', '??'=>'Y','Ŷ'=>'Y','Ÿ'=>'Y', 'Ź'=>'Z','Ž'=>'Z','Ż'=>'Z',
|
|
55 |
'Ŵ'=>'W', '�?'=>'Y','Ŷ'=>'Y','Ÿ'=>'Y', 'Ź'=>'Z','Ž'=>'Z','Ż'=>'Z',
|
|
56 | 56 |
'Þ'=>'T','Þ'=>'T', 'à'=>'a','á'=>'a','â'=>'a','ã'=>'a','ä'=>'ae', |
57 |
'ä'=>'ae', 'å'=>'a','??'=>'a','ą'=>'a','ă'=>'a',
|
|
58 |
'æ'=>'ae', 'ç'=>'c','ć'=>'c','??'=>'c','ĉ'=>'c','ċ'=>'c',
|
|
59 |
'??'=>'d','đ'=>'d','ð'=>'d', 'è'=>'e','é'=>'e','ê'=>'e','ë'=>'e','ē'=>'e',
|
|
57 |
'ä'=>'ae', 'å'=>'a','�?'=>'a','ą'=>'a','ă'=>'a',
|
|
58 |
'æ'=>'ae', 'ç'=>'c','ć'=>'c','�?'=>'c','ĉ'=>'c','ċ'=>'c',
|
|
59 |
'�?'=>'d','đ'=>'d','ð'=>'d', 'è'=>'e','é'=>'e','ê'=>'e','ë'=>'e','ē'=>'e',
|
|
60 | 60 |
'ę'=>'e','ě'=>'e','ĕ'=>'e','ė'=>'e', 'ƒ'=>'f', |
61 |
'??'=>'g','ğ'=>'g','ġ'=>'g','ģ'=>'g', 'ĥ'=>'h','ħ'=>'h',
|
|
61 |
'�?'=>'g','ğ'=>'g','ġ'=>'g','ģ'=>'g', 'ĥ'=>'h','ħ'=>'h',
|
|
62 | 62 |
'ì'=>'i','í'=>'i','î'=>'i','ï'=>'i','ī'=>'i', 'ĩ'=>'i','ĭ'=>'i','į'=>'i','ı'=>'i', |
63 | 63 |
'ij'=>'ij', 'ĵ'=>'j', 'ķ'=>'k','ĸ'=>'k', 'ł'=>'l','ľ'=>'l','ĺ'=>'l','ļ'=>'l','ŀ'=>'l', |
64 | 64 |
'ñ'=>'n','ń'=>'n','ň'=>'n','ņ'=>'n','ʼn'=>'n', 'ŋ'=>'n', |
65 | 65 |
'ò'=>'o','ó'=>'o','ô'=>'o','õ'=>'o','ö'=>'oe', 'ö'=>'oe', |
66 |
'ø'=>'o','??'=>'o','ő'=>'o','??'=>'o', 'œ'=>'oe', 'ŕ'=>'r','ř'=>'r','ŗ'=>'r',
|
|
66 |
'ø'=>'o','�?'=>'o','ő'=>'o','�?'=>'o', 'œ'=>'oe', 'ŕ'=>'r','ř'=>'r','ŗ'=>'r',
|
|
67 | 67 |
'š'=>'s', 'ù'=>'u','ú'=>'u','û'=>'u','ü'=>'ue','ū'=>'u', 'ü'=>'ue', |
68 | 68 |
'ů'=>'u','ű'=>'u','ŭ'=>'u','ũ'=>'u','ų'=>'u', 'ŵ'=>'w', |
69 |
'ý'=>'y','ÿ'=>'y','ŷ'=>'y', 'ž'=>'z','ż'=>'z','ź'=>'z', 'þ'=>'t', 'ß'=>'ss', 'ſ'=>'ss' |
|
69 |
'ý'=>'y','ÿ'=>'y','ŷ'=>'y', 'ž'=>'z','ż'=>'z','ź'=>'z', 'þ'=>'t', 'ß'=>'ss', 'ſ'=>'ss', |
|
70 |
'ä'=>'ae', 'ö'=>'oe', 'ü'=>'ue', 'Ä'=>'Ae', 'Ö'=>'Oe', 'Ü'=>'Ue' |
|
70 | 71 |
); |
71 | 72 |
|
72 | 73 |
?> |
Also available in: Unified diff
Added extra characters to convert.php (see bug #64)