darwinel | d8bef8a | 2014-02-11 20:13:22 +0100 | [diff] [blame] | 1 | <?php |
Derek Jones | f4a4bd8 | 2011-10-20 12:18:42 -0500 | [diff] [blame] | 2 | /** |
| 3 | * CodeIgniter |
| 4 | * |
Phil Sturgeon | 07c1ac8 | 2012-03-09 17:03:37 +0000 | [diff] [blame] | 5 | * An open source application development framework for PHP 5.2.4 or newer |
Derek Jones | f4a4bd8 | 2011-10-20 12:18:42 -0500 | [diff] [blame] | 6 | * |
Andrey Andreev | bdb96ca | 2014-10-28 00:13:31 +0200 | [diff] [blame] | 7 | * This content is released under the MIT License (MIT) |
Andrey Andreev | e734b38 | 2012-03-26 13:42:36 +0300 | [diff] [blame] | 8 | * |
Andrey Andreev | bdb96ca | 2014-10-28 00:13:31 +0200 | [diff] [blame] | 9 | * Copyright (c) 2014, British Columbia Institute of Technology |
Andrey Andreev | e734b38 | 2012-03-26 13:42:36 +0300 | [diff] [blame] | 10 | * |
Andrey Andreev | bdb96ca | 2014-10-28 00:13:31 +0200 | [diff] [blame] | 11 | * Permission is hereby granted, free of charge, to any person obtaining a copy |
| 12 | * of this software and associated documentation files (the "Software"), to deal |
| 13 | * in the Software without restriction, including without limitation the rights |
| 14 | * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
| 15 | * copies of the Software, and to permit persons to whom the Software is |
| 16 | * furnished to do so, subject to the following conditions: |
Derek Jones | f4a4bd8 | 2011-10-20 12:18:42 -0500 | [diff] [blame] | 17 | * |
Andrey Andreev | bdb96ca | 2014-10-28 00:13:31 +0200 | [diff] [blame] | 18 | * The above copyright notice and this permission notice shall be included in |
| 19 | * all copies or substantial portions of the Software. |
| 20 | * |
| 21 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR |
| 22 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, |
| 23 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE |
| 24 | * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER |
| 25 | * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, |
| 26 | * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN |
| 27 | * THE SOFTWARE. |
| 28 | * |
| 29 | * @package CodeIgniter |
| 30 | * @author EllisLab Dev Team |
darwinel | 871754a | 2014-02-11 17:34:57 +0100 | [diff] [blame] | 31 | * @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (http://ellislab.com/) |
Andrey Andreev | bdb96ca | 2014-10-28 00:13:31 +0200 | [diff] [blame] | 32 | * @copyright Copyright (c) 2014, British Columbia Institute of Technology (http://bcit.ca/) |
| 33 | * @license http://opensource.org/licenses/MIT MIT License |
| 34 | * @link http://codeigniter.com |
| 35 | * @since Version 1.0.0 |
Derek Jones | f4a4bd8 | 2011-10-20 12:18:42 -0500 | [diff] [blame] | 36 | * @filesource |
| 37 | */ |
darwinel | d8bef8a | 2014-02-11 20:13:22 +0100 | [diff] [blame] | 38 | defined('BASEPATH') OR exit('No direct script access allowed'); |
Derek Jones | f4a4bd8 | 2011-10-20 12:18:42 -0500 | [diff] [blame] | 39 | |
Derek Jones | daf9c01 | 2010-03-05 10:29:30 -0600 | [diff] [blame] | 40 | /* |
| 41 | | ------------------------------------------------------------------- |
| 42 | | Foreign Characters |
| 43 | | ------------------------------------------------------------------- |
| 44 | | This file contains an array of foreign characters for transliteration |
| 45 | | conversion used by the Text helper |
| 46 | | |
| 47 | */ |
Eric Barnes | 5e04480 | 2011-01-11 16:10:26 -0500 | [diff] [blame] | 48 | $foreign_characters = array( |
| 49 | '/ä|æ|ǽ/' => 'ae', |
| 50 | '/ö|œ/' => 'oe', |
| 51 | '/ü/' => 'ue', |
| 52 | '/Ä/' => 'Ae', |
| 53 | '/Ü/' => 'Ue', |
| 54 | '/Ö/' => 'Oe', |
Andrey | 30563ff | 2012-11-01 01:49:39 +0400 | [diff] [blame] | 55 | '/À|Á|Â|Ã|Ä|Å|Ǻ|Ā|Ă|Ą|Ǎ|Α|Ά|Ả|Ạ|Ầ|Ẫ|Ẩ|Ậ|Ằ|Ắ|Ẵ|Ẳ|Ặ|А/' => 'A', |
| 56 | '/à|á|â|ã|å|ǻ|ā|ă|ą|ǎ|ª|α|ά|ả|ạ|ầ|ấ|ẫ|ẩ|ậ|ằ|ắ|ẵ|ẳ|ặ|а/' => 'a', |
| 57 | '/Б/' => 'B', |
| 58 | '/б/' => 'b', |
Eric Barnes | 5e04480 | 2011-01-11 16:10:26 -0500 | [diff] [blame] | 59 | '/Ç|Ć|Ĉ|Ċ|Č/' => 'C', |
| 60 | '/ç|ć|ĉ|ċ|č/' => 'c', |
Andrey | 30563ff | 2012-11-01 01:49:39 +0400 | [diff] [blame] | 61 | '/Д/' => 'D', |
| 62 | '/д/' => 'd', |
George Petsagourakis | 25ead35 | 2012-04-24 20:07:58 +0300 | [diff] [blame] | 63 | '/Ð|Ď|Đ|Δ/' => 'Dj', |
| 64 | '/ð|ď|đ|δ/' => 'dj', |
Sergey Noskov | cf524a6 | 2013-08-25 13:52:48 +0300 | [diff] [blame] | 65 | '/È|É|Ê|Ë|Ē|Ĕ|Ė|Ę|Ě|Ε|Έ|Ẽ|Ẻ|Ẹ|Ề|Ế|Ễ|Ể|Ệ|Е|Э/' => 'E', |
| 66 | '/è|é|ê|ë|ē|ĕ|ė|ę|ě|έ|ε|ẽ|ẻ|ẹ|ề|ế|ễ|ể|ệ|е|э/' => 'e', |
Andrey | 30563ff | 2012-11-01 01:49:39 +0400 | [diff] [blame] | 67 | '/Ф/' => 'F', |
| 68 | '/ф/' => 'f', |
Sergey Noskov | cf524a6 | 2013-08-25 13:52:48 +0300 | [diff] [blame] | 69 | '/Ĝ|Ğ|Ġ|Ģ|Γ|Г|Ґ/' => 'G', |
| 70 | '/ĝ|ğ|ġ|ģ|γ|г|ґ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' => 'R', |
| 90 | '/ŕ|ŗ|ř|ρ|р/' => 'r', |
| 91 | '/Ś|Ŝ|Ş|Ș|Š|Σ|С/' => 'S', |
| 92 | '/ś|ŝ|ş|ș|š|ſ|σ|ς|с/' => 's', |
| 93 | '/Ț|Ţ|Ť|Ŧ|τ|Т/' => 'T', |
| 94 | '/ț|ţ|ť|ŧ|т/' => 't', |
Sergey Noskov | cf524a6 | 2013-08-25 13:52:48 +0300 | [diff] [blame] | 95 | '/Ù|Ú|Û|Ũ|Ū|Ŭ|Ů|Ű|Ų|Ư|Ǔ|Ǖ|Ǘ|Ǚ|Ǜ|Ũ|Ủ|Ụ|Ừ|Ứ|Ữ|Ử|Ự|У/' => 'U', |
| 96 | '/ù|ú|û|ũ|ū|ŭ|ů|ű|ų|ư|ǔ|ǖ|ǘ|ǚ|ǜ|υ|ύ|ϋ|ủ|ụ|ừ|ứ|ữ|ử|ự|у/' => 'u', |
| 97 | '/Ý|Ÿ|Ŷ|Υ|Ύ|Ϋ|Ỳ|Ỹ|Ỷ|Ỵ|Й/' => 'Y', |
| 98 | '/ý|ÿ|ŷ|ỳ|ỹ|ỷ|ỵ|й/' => 'y', |
Andrey | 30563ff | 2012-11-01 01:49:39 +0400 | [diff] [blame] | 99 | '/В/' => 'V', |
| 100 | '/в/' => 'v', |
Eric Barnes | 5e04480 | 2011-01-11 16:10:26 -0500 | [diff] [blame] | 101 | '/Ŵ/' => 'W', |
| 102 | '/ŵ/' => 'w', |
Andrey | 30563ff | 2012-11-01 01:49:39 +0400 | [diff] [blame] | 103 | '/Ź|Ż|Ž|Ζ|З/' => 'Z', |
| 104 | '/ź|ż|ž|ζ|з/' => 'z', |
Eric Barnes | 5e04480 | 2011-01-11 16:10:26 -0500 | [diff] [blame] | 105 | '/Æ|Ǽ/' => 'AE', |
Sergey Noskov | cf524a6 | 2013-08-25 13:52:48 +0300 | [diff] [blame] | 106 | '/ß/' => 'ss', |
Eric Barnes | 5e04480 | 2011-01-11 16:10:26 -0500 | [diff] [blame] | 107 | '/IJ/' => 'IJ', |
| 108 | '/ij/' => 'ij', |
| 109 | '/Œ/' => 'OE', |
George Petsagourakis | 25ead35 | 2012-04-24 20:07:58 +0300 | [diff] [blame] | 110 | '/ƒ/' => 'f', |
| 111 | '/ξ/' => 'ks', |
| 112 | '/π/' => 'p', |
| 113 | '/β/' => 'v', |
| 114 | '/μ/' => 'm', |
| 115 | '/ψ/' => 'ps', |
Sergey Noskov | cf524a6 | 2013-08-25 13:52:48 +0300 | [diff] [blame] | 116 | '/Ё/' => 'Yo', |
| 117 | '/ё/' => 'yo', |
| 118 | '/Є/' => 'Ye', |
| 119 | '/є/' => 'ye', |
| 120 | '/Ї/' => 'Yi', |
| 121 | '/Ж/' => 'Zh', |
| 122 | '/ж/' => 'zh', |
| 123 | '/Х/' => 'Kh', |
| 124 | '/х/' => 'kh', |
| 125 | '/Ц/' => 'Ts', |
| 126 | '/ц/' => 'ts', |
| 127 | '/Ч/' => 'Ch', |
| 128 | '/ч/' => 'ch', |
| 129 | '/Ш/' => 'Sh', |
| 130 | '/ш/' => 'sh', |
| 131 | '/Щ/' => 'Shch', |
| 132 | '/щ/' => 'shch', |
| 133 | '/Ъ|ъ|Ь|ь/' => '', |
| 134 | '/Ю/' => 'Yu', |
| 135 | '/ю/' => 'yu', |
| 136 | '/Я/' => 'Ya', |
| 137 | '/я/' => 'ya' |
Eric Barnes | 5e04480 | 2011-01-11 16:10:26 -0500 | [diff] [blame] | 138 | ); |
Derek Jones | daf9c01 | 2010-03-05 10:29:30 -0600 | [diff] [blame] | 139 | |
| 140 | /* End of file foreign_chars.php */ |
Derek Jones | f0b3994 | 2010-03-25 10:08:20 -0500 | [diff] [blame] | 141 | /* Location: ./application/config/foreign_chars.php */ |