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 | * |
| 7 | * NOTICE OF LICENSE |
Andrey Andreev | e734b38 | 2012-03-26 13:42:36 +0300 | [diff] [blame] | 8 | * |
Derek Jones | f4a4bd8 | 2011-10-20 12:18:42 -0500 | [diff] [blame] | 9 | * Licensed under the Academic Free License version 3.0 |
Andrey Andreev | e734b38 | 2012-03-26 13:42:36 +0300 | [diff] [blame] | 10 | * |
Derek Jones | 61df906 | 2011-10-21 09:55:40 -0500 | [diff] [blame] | 11 | * This source file is subject to the Academic Free License (AFL 3.0) that is |
Derek Jones | f4a4bd8 | 2011-10-20 12:18:42 -0500 | [diff] [blame] | 12 | * bundled with this package in the files license_afl.txt / license_afl.rst. |
| 13 | * It is also available through the world wide web at this URL: |
| 14 | * http://opensource.org/licenses/AFL-3.0 |
| 15 | * If you did not receive a copy of the license and are unable to obtain it |
| 16 | * through the world wide web, please send an email to |
| 17 | * licensing@ellislab.com so we can send you a copy immediately. |
| 18 | * |
| 19 | * @package CodeIgniter |
| 20 | * @author EllisLab Dev Team |
darwinel | 871754a | 2014-02-11 17:34:57 +0100 | [diff] [blame] | 21 | * @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (http://ellislab.com/) |
Derek Jones | f4a4bd8 | 2011-10-20 12:18:42 -0500 | [diff] [blame] | 22 | * @license http://opensource.org/licenses/AFL-3.0 Academic Free License (AFL 3.0) |
| 23 | * @link http://codeigniter.com |
| 24 | * @since Version 1.0 |
| 25 | * @filesource |
| 26 | */ |
darwinel | d8bef8a | 2014-02-11 20:13:22 +0100 | [diff] [blame] | 27 | defined('BASEPATH') OR exit('No direct script access allowed'); |
Derek Jones | f4a4bd8 | 2011-10-20 12:18:42 -0500 | [diff] [blame] | 28 | |
Derek Jones | daf9c01 | 2010-03-05 10:29:30 -0600 | [diff] [blame] | 29 | /* |
| 30 | | ------------------------------------------------------------------- |
| 31 | | Foreign Characters |
| 32 | | ------------------------------------------------------------------- |
| 33 | | This file contains an array of foreign characters for transliteration |
| 34 | | conversion used by the Text helper |
| 35 | | |
| 36 | */ |
Eric Barnes | 5e04480 | 2011-01-11 16:10:26 -0500 | [diff] [blame] | 37 | $foreign_characters = array( |
| 38 | '/ä|æ|ǽ/' => 'ae', |
| 39 | '/ö|œ/' => 'oe', |
| 40 | '/ü/' => 'ue', |
| 41 | '/Ä/' => 'Ae', |
| 42 | '/Ü/' => 'Ue', |
| 43 | '/Ö/' => 'Oe', |
Andrey | 30563ff | 2012-11-01 01:49:39 +0400 | [diff] [blame] | 44 | '/À|Á|Â|Ã|Ä|Å|Ǻ|Ā|Ă|Ą|Ǎ|Α|Ά|Ả|Ạ|Ầ|Ẫ|Ẩ|Ậ|Ằ|Ắ|Ẵ|Ẳ|Ặ|А/' => 'A', |
| 45 | '/à|á|â|ã|å|ǻ|ā|ă|ą|ǎ|ª|α|ά|ả|ạ|ầ|ấ|ẫ|ẩ|ậ|ằ|ắ|ẵ|ẳ|ặ|а/' => 'a', |
| 46 | '/Б/' => 'B', |
| 47 | '/б/' => 'b', |
Eric Barnes | 5e04480 | 2011-01-11 16:10:26 -0500 | [diff] [blame] | 48 | '/Ç|Ć|Ĉ|Ċ|Č/' => 'C', |
| 49 | '/ç|ć|ĉ|ċ|č/' => 'c', |
Andrey | 30563ff | 2012-11-01 01:49:39 +0400 | [diff] [blame] | 50 | '/Д/' => 'D', |
| 51 | '/д/' => 'd', |
George Petsagourakis | 25ead35 | 2012-04-24 20:07:58 +0300 | [diff] [blame] | 52 | '/Ð|Ď|Đ|Δ/' => 'Dj', |
| 53 | '/ð|ď|đ|δ/' => 'dj', |
Sergey Noskov | cf524a6 | 2013-08-25 13:52:48 +0300 | [diff] [blame] | 54 | '/È|É|Ê|Ë|Ē|Ĕ|Ė|Ę|Ě|Ε|Έ|Ẽ|Ẻ|Ẹ|Ề|Ế|Ễ|Ể|Ệ|Е|Э/' => 'E', |
| 55 | '/è|é|ê|ë|ē|ĕ|ė|ę|ě|έ|ε|ẽ|ẻ|ẹ|ề|ế|ễ|ể|ệ|е|э/' => 'e', |
Andrey | 30563ff | 2012-11-01 01:49:39 +0400 | [diff] [blame] | 56 | '/Ф/' => 'F', |
| 57 | '/ф/' => 'f', |
Sergey Noskov | cf524a6 | 2013-08-25 13:52:48 +0300 | [diff] [blame] | 58 | '/Ĝ|Ğ|Ġ|Ģ|Γ|Г|Ґ/' => 'G', |
| 59 | '/ĝ|ğ|ġ|ģ|γ|г|ґ/' => 'g', |
Eric Barnes | 5e04480 | 2011-01-11 16:10:26 -0500 | [diff] [blame] | 60 | '/Ĥ|Ħ/' => 'H', |
| 61 | '/ĥ|ħ/' => 'h', |
Sergey Noskov | cf524a6 | 2013-08-25 13:52:48 +0300 | [diff] [blame] | 62 | '/Ì|Í|Î|Ï|Ĩ|Ī|Ĭ|Ǐ|Į|İ|Η|Ή|Ί|Ι|Ϊ|Ỉ|Ị|И|Ы/' => 'I', |
| 63 | '/ì|í|î|ï|ĩ|ī|ĭ|ǐ|į|ı|η|ή|ί|ι|ϊ|ỉ|ị|и|ы|ї/' => 'i', |
Eric Barnes | 5e04480 | 2011-01-11 16:10:26 -0500 | [diff] [blame] | 64 | '/Ĵ/' => 'J', |
| 65 | '/ĵ/' => 'j', |
Andrey | 30563ff | 2012-11-01 01:49:39 +0400 | [diff] [blame] | 66 | '/Ķ|Κ|К/' => 'K', |
| 67 | '/ķ|κ|к/' => 'k', |
| 68 | '/Ĺ|Ļ|Ľ|Ŀ|Ł|Λ|Л/' => 'L', |
| 69 | '/ĺ|ļ|ľ|ŀ|ł|λ|л/' => 'l', |
| 70 | '/М/' => 'M', |
| 71 | '/м/' => 'm', |
| 72 | '/Ñ|Ń|Ņ|Ň|Ν|Н/' => 'N', |
| 73 | '/ñ|ń|ņ|ň|ʼn|ν|н/' => 'n', |
| 74 | '/Ò|Ó|Ô|Õ|Ō|Ŏ|Ǒ|Ő|Ơ|Ø|Ǿ|Ο|Ό|Ω|Ώ|Ỏ|Ọ|Ồ|Ố|Ỗ|Ổ|Ộ|Ờ|Ớ|Ỡ|Ở|Ợ|О/' => 'O', |
| 75 | '/ò|ó|ô|õ|ō|ŏ|ǒ|ő|ơ|ø|ǿ|º|ο|ό|ω|ώ|ỏ|ọ|ồ|ố|ỗ|ổ|ộ|ờ|ớ|ỡ|ở|ợ|о/' => 'o', |
| 76 | '/П/' => 'P', |
| 77 | '/п/' => 'p', |
| 78 | '/Ŕ|Ŗ|Ř|Ρ|Р/' => 'R', |
| 79 | '/ŕ|ŗ|ř|ρ|р/' => 'r', |
| 80 | '/Ś|Ŝ|Ş|Ș|Š|Σ|С/' => 'S', |
| 81 | '/ś|ŝ|ş|ș|š|ſ|σ|ς|с/' => 's', |
| 82 | '/Ț|Ţ|Ť|Ŧ|τ|Т/' => 'T', |
| 83 | '/ț|ţ|ť|ŧ|т/' => 't', |
Sergey Noskov | cf524a6 | 2013-08-25 13:52:48 +0300 | [diff] [blame] | 84 | '/Ù|Ú|Û|Ũ|Ū|Ŭ|Ů|Ű|Ų|Ư|Ǔ|Ǖ|Ǘ|Ǚ|Ǜ|Ũ|Ủ|Ụ|Ừ|Ứ|Ữ|Ử|Ự|У/' => 'U', |
| 85 | '/ù|ú|û|ũ|ū|ŭ|ů|ű|ų|ư|ǔ|ǖ|ǘ|ǚ|ǜ|υ|ύ|ϋ|ủ|ụ|ừ|ứ|ữ|ử|ự|у/' => 'u', |
| 86 | '/Ý|Ÿ|Ŷ|Υ|Ύ|Ϋ|Ỳ|Ỹ|Ỷ|Ỵ|Й/' => 'Y', |
| 87 | '/ý|ÿ|ŷ|ỳ|ỹ|ỷ|ỵ|й/' => 'y', |
Andrey | 30563ff | 2012-11-01 01:49:39 +0400 | [diff] [blame] | 88 | '/В/' => 'V', |
| 89 | '/в/' => 'v', |
Eric Barnes | 5e04480 | 2011-01-11 16:10:26 -0500 | [diff] [blame] | 90 | '/Ŵ/' => 'W', |
| 91 | '/ŵ/' => 'w', |
Andrey | 30563ff | 2012-11-01 01:49:39 +0400 | [diff] [blame] | 92 | '/Ź|Ż|Ž|Ζ|З/' => 'Z', |
| 93 | '/ź|ż|ž|ζ|з/' => 'z', |
Eric Barnes | 5e04480 | 2011-01-11 16:10:26 -0500 | [diff] [blame] | 94 | '/Æ|Ǽ/' => 'AE', |
Sergey Noskov | cf524a6 | 2013-08-25 13:52:48 +0300 | [diff] [blame] | 95 | '/ß/' => 'ss', |
Eric Barnes | 5e04480 | 2011-01-11 16:10:26 -0500 | [diff] [blame] | 96 | '/IJ/' => 'IJ', |
| 97 | '/ij/' => 'ij', |
| 98 | '/Œ/' => 'OE', |
George Petsagourakis | 25ead35 | 2012-04-24 20:07:58 +0300 | [diff] [blame] | 99 | '/ƒ/' => 'f', |
| 100 | '/ξ/' => 'ks', |
| 101 | '/π/' => 'p', |
| 102 | '/β/' => 'v', |
| 103 | '/μ/' => 'm', |
| 104 | '/ψ/' => 'ps', |
Sergey Noskov | cf524a6 | 2013-08-25 13:52:48 +0300 | [diff] [blame] | 105 | '/Ё/' => 'Yo', |
| 106 | '/ё/' => 'yo', |
| 107 | '/Є/' => 'Ye', |
| 108 | '/є/' => 'ye', |
| 109 | '/Ї/' => 'Yi', |
| 110 | '/Ж/' => 'Zh', |
| 111 | '/ж/' => 'zh', |
| 112 | '/Х/' => 'Kh', |
| 113 | '/х/' => 'kh', |
| 114 | '/Ц/' => 'Ts', |
| 115 | '/ц/' => 'ts', |
| 116 | '/Ч/' => 'Ch', |
| 117 | '/ч/' => 'ch', |
| 118 | '/Ш/' => 'Sh', |
| 119 | '/ш/' => 'sh', |
| 120 | '/Щ/' => 'Shch', |
| 121 | '/щ/' => 'shch', |
| 122 | '/Ъ|ъ|Ь|ь/' => '', |
| 123 | '/Ю/' => 'Yu', |
| 124 | '/ю/' => 'yu', |
| 125 | '/Я/' => 'Ya', |
| 126 | '/я/' => 'ya' |
Eric Barnes | 5e04480 | 2011-01-11 16:10:26 -0500 | [diff] [blame] | 127 | ); |
Derek Jones | daf9c01 | 2010-03-05 10:29:30 -0600 | [diff] [blame] | 128 | |
| 129 | /* End of file foreign_chars.php */ |
Derek Jones | f0b3994 | 2010-03-25 10:08:20 -0500 | [diff] [blame] | 130 | /* Location: ./application/config/foreign_chars.php */ |