Derek Jones | daf9c01 | 2010-03-05 10:29:30 -0600 | [diff] [blame] | 1 | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); |
| 2 | /* |
| 3 | | ------------------------------------------------------------------- |
| 4 | | Foreign Characters |
| 5 | | ------------------------------------------------------------------- |
| 6 | | This file contains an array of foreign characters for transliteration |
| 7 | | conversion used by the Text helper |
| 8 | | |
| 9 | */ |
Eric Barnes | 5e04480 | 2011-01-11 16:10:26 -0500 | [diff] [blame^] | 10 | $foreign_characters = array( |
| 11 | '/ä|æ|ǽ/' => 'ae', |
| 12 | '/ö|œ/' => 'oe', |
| 13 | '/ü/' => 'ue', |
| 14 | '/Ä/' => 'Ae', |
| 15 | '/Ü/' => 'Ue', |
| 16 | '/Ö/' => 'Oe', |
| 17 | '/À|Á|Â|Ã|Ä|Å|Ǻ|Ā|Ă|Ą|Ǎ/' => 'A', |
| 18 | '/à|á|â|ã|å|ǻ|ā|ă|ą|ǎ|ª/' => 'a', |
| 19 | '/Ç|Ć|Ĉ|Ċ|Č/' => 'C', |
| 20 | '/ç|ć|ĉ|ċ|č/' => 'c', |
| 21 | '/Ð|Ď|Đ/' => 'D', |
| 22 | '/ð|ď|đ/' => 'd', |
| 23 | '/È|É|Ê|Ë|Ē|Ĕ|Ė|Ę|Ě/' => 'E', |
| 24 | '/è|é|ê|ë|ē|ĕ|ė|ę|ě/' => 'e', |
| 25 | '/Ĝ|Ğ|Ġ|Ģ/' => 'G', |
| 26 | '/ĝ|ğ|ġ|ģ/' => 'g', |
| 27 | '/Ĥ|Ħ/' => 'H', |
| 28 | '/ĥ|ħ/' => 'h', |
| 29 | '/Ì|Í|Î|Ï|Ĩ|Ī|Ĭ|Ǐ|Į|İ/' => 'I', |
| 30 | '/ì|í|î|ï|ĩ|ī|ĭ|ǐ|į|ı/' => 'i', |
| 31 | '/Ĵ/' => 'J', |
| 32 | '/ĵ/' => 'j', |
| 33 | '/Ķ/' => 'K', |
| 34 | '/ķ/' => 'k', |
| 35 | '/Ĺ|Ļ|Ľ|Ŀ|Ł/' => 'L', |
| 36 | '/ĺ|ļ|ľ|ŀ|ł/' => 'l', |
| 37 | '/Ñ|Ń|Ņ|Ň/' => 'N', |
| 38 | '/ñ|ń|ņ|ň|ʼn/' => 'n', |
| 39 | '/Ò|Ó|Ô|Õ|Ō|Ŏ|Ǒ|Ő|Ơ|Ø|Ǿ/' => 'O', |
| 40 | '/ò|ó|ô|õ|ō|ŏ|ǒ|ő|ơ|ø|ǿ|º/' => 'o', |
| 41 | '/Ŕ|Ŗ|Ř/' => 'R', |
| 42 | '/ŕ|ŗ|ř/' => 'r', |
| 43 | '/Ś|Ŝ|Ş|Š/' => 'S', |
| 44 | '/ś|ŝ|ş|š|ſ/' => 's', |
| 45 | '/Ţ|Ť|Ŧ/' => 'T', |
| 46 | '/ţ|ť|ŧ/' => 't', |
| 47 | '/Ù|Ú|Û|Ũ|Ū|Ŭ|Ů|Ű|Ų|Ư|Ǔ|Ǖ|Ǘ|Ǚ|Ǜ/' => 'U', |
| 48 | '/ù|ú|û|ũ|ū|ŭ|ů|ű|ų|ư|ǔ|ǖ|ǘ|ǚ|ǜ/' => 'u', |
| 49 | '/Ý|Ÿ|Ŷ/' => 'Y', |
| 50 | '/ý|ÿ|ŷ/' => 'y', |
| 51 | '/Ŵ/' => 'W', |
| 52 | '/ŵ/' => 'w', |
| 53 | '/Ź|Ż|Ž/' => 'Z', |
| 54 | '/ź|ż|ž/' => 'z', |
| 55 | '/Æ|Ǽ/' => 'AE', |
| 56 | '/ß/'=> 'ss', |
| 57 | '/IJ/' => 'IJ', |
| 58 | '/ij/' => 'ij', |
| 59 | '/Œ/' => 'OE', |
| 60 | '/ƒ/' => 'f' |
| 61 | ); |
Derek Jones | daf9c01 | 2010-03-05 10:29:30 -0600 | [diff] [blame] | 62 | |
| 63 | /* End of file foreign_chars.php */ |
Derek Jones | f0b3994 | 2010-03-25 10:08:20 -0500 | [diff] [blame] | 64 | /* Location: ./application/config/foreign_chars.php */ |