Andrey Andreev | e734b38 | 2012-03-26 13:42:36 +0300 | [diff] [blame] | 1 | <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); |
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 |
Andrey Andreev | 80500af | 2013-01-01 08:16:53 +0200 | [diff] [blame] | 21 | * @copyright Copyright (c) 2008 - 2013, 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 | */ |
| 27 | |
Derek Jones | daf9c01 | 2010-03-05 10:29:30 -0600 | [diff] [blame] | 28 | /* |
| 29 | | ------------------------------------------------------------------- |
| 30 | | Foreign Characters |
| 31 | | ------------------------------------------------------------------- |
| 32 | | This file contains an array of foreign characters for transliteration |
| 33 | | conversion used by the Text helper |
| 34 | | |
| 35 | */ |
Eric Barnes | 5e04480 | 2011-01-11 16:10:26 -0500 | [diff] [blame] | 36 | $foreign_characters = array( |
| 37 | '/ä|æ|ǽ/' => 'ae', |
| 38 | '/ö|œ/' => 'oe', |
| 39 | '/ü/' => 'ue', |
| 40 | '/Ä/' => 'Ae', |
| 41 | '/Ü/' => 'Ue', |
| 42 | '/Ö/' => 'Oe', |
Andrey | 30563ff | 2012-11-01 01:49:39 +0400 | [diff] [blame] | 43 | '/À|Á|Â|Ã|Ä|Å|Ǻ|Ā|Ă|Ą|Ǎ|Α|Ά|Ả|Ạ|Ầ|Ẫ|Ẩ|Ậ|Ằ|Ắ|Ẵ|Ẳ|Ặ|А/' => 'A', |
| 44 | '/à|á|â|ã|å|ǻ|ā|ă|ą|ǎ|ª|α|ά|ả|ạ|ầ|ấ|ẫ|ẩ|ậ|ằ|ắ|ẵ|ẳ|ặ|а/' => 'a', |
| 45 | '/Б/' => 'B', |
| 46 | '/б/' => 'b', |
Eric Barnes | 5e04480 | 2011-01-11 16:10:26 -0500 | [diff] [blame] | 47 | '/Ç|Ć|Ĉ|Ċ|Č/' => 'C', |
| 48 | '/ç|ć|ĉ|ċ|č/' => 'c', |
Andrey | 30563ff | 2012-11-01 01:49:39 +0400 | [diff] [blame] | 49 | '/Д/' => 'D', |
| 50 | '/д/' => 'd', |
George Petsagourakis | 25ead35 | 2012-04-24 20:07:58 +0300 | [diff] [blame] | 51 | '/Ð|Ď|Đ|Δ/' => 'Dj', |
| 52 | '/ð|ď|đ|δ/' => 'dj', |
Andrey | 30563ff | 2012-11-01 01:49:39 +0400 | [diff] [blame] | 53 | '/È|É|Ê|Ë|Ē|Ĕ|Ė|Ę|Ě|Ε|Έ|Ẽ|Ẻ|Ẹ|Ề|Ế|Ễ|Ể|Ệ|Е|Ё|Э/' => 'E', |
| 54 | '/è|é|ê|ë|ē|ĕ|ė|ę|ě|έ|ε|ẽ|ẻ|ẹ|ề|ế|ễ|ể|ệ|е|ё|э/' => 'e', |
| 55 | '/Ф/' => 'F', |
| 56 | '/ф/' => 'f', |
| 57 | '/Ĝ|Ğ|Ġ|Ģ|Γ|Г/' => 'G', |
| 58 | '/ĝ|ğ|ġ|ģ|γ|г/' => 'g', |
Eric Barnes | 5e04480 | 2011-01-11 16:10:26 -0500 | [diff] [blame] | 59 | '/Ĥ|Ħ/' => 'H', |
| 60 | '/ĥ|ħ/' => 'h', |
Andrey | 30563ff | 2012-11-01 01:49:39 +0400 | [diff] [blame] | 61 | '/Ì|Í|Î|Ï|Ĩ|Ī|Ĭ|Ǐ|Į|İ|Η|Ή|Ί|Ι|Ϊ|Ỉ|Ị|И|Й/' => 'I', |
| 62 | '/ì|í|î|ï|ĩ|ī|ĭ|ǐ|į|ı|η|ή|ί|ι|ϊ|ỉ|ị|и|й/' => 'i', |
Eric Barnes | 5e04480 | 2011-01-11 16:10:26 -0500 | [diff] [blame] | 63 | '/Ĵ/' => 'J', |
| 64 | '/ĵ/' => 'j', |
Andrey | 30563ff | 2012-11-01 01:49:39 +0400 | [diff] [blame] | 65 | '/Ķ|Κ|К/' => 'K', |
| 66 | '/ķ|κ|к/' => 'k', |
| 67 | '/Ĺ|Ļ|Ľ|Ŀ|Ł|Λ|Л/' => 'L', |
| 68 | '/ĺ|ļ|ľ|ŀ|ł|λ|л/' => 'l', |
| 69 | '/М/' => 'M', |
| 70 | '/м/' => 'm', |
| 71 | '/Ñ|Ń|Ņ|Ň|Ν|Н/' => 'N', |
| 72 | '/ñ|ń|ņ|ň|ʼn|ν|н/' => 'n', |
| 73 | '/Ò|Ó|Ô|Õ|Ō|Ŏ|Ǒ|Ő|Ơ|Ø|Ǿ|Ο|Ό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diff] [blame] | 89 | '/Ŵ/' => 'W', |
| 90 | '/ŵ/' => 'w', |
Andrey | 30563ff | 2012-11-01 01:49:39 +0400 | [diff] [blame] | 91 | '/Ź|Ż|Ž|Ζ|З/' => 'Z', |
| 92 | '/ź|ż|ž|ζ|з/' => 'z', |
Eric Barnes | 5e04480 | 2011-01-11 16:10:26 -0500 | [diff] [blame] | 93 | '/Æ|Ǽ/' => 'AE', |
| 94 | '/ß/'=> 'ss', |
| 95 | '/IJ/' => 'IJ', |
| 96 | '/ij/' => 'ij', |
| 97 | '/Œ/' => 'OE', |
George Petsagourakis | 25ead35 | 2012-04-24 20:07:58 +0300 | [diff] [blame] | 98 | '/ƒ/' => 'f', |
| 99 | '/ξ/' => 'ks', |
| 100 | '/π/' => 'p', |
| 101 | '/β/' => 'v', |
| 102 | '/μ/' => 'm', |
| 103 | '/ψ/' => 'ps', |
sa | 948f021 | 2012-11-01 16:27:02 +0400 | [diff] [blame] | 104 | '/Ж/'=>'Zh', |
Andrey | 30563ff | 2012-11-01 01:49:39 +0400 | [diff] [blame] | 105 | '/ж/'=>'zh', |
sa | 948f021 | 2012-11-01 16:27:02 +0400 | [diff] [blame] | 106 | '/Х/'=>'Kh', |
Andrey | 30563ff | 2012-11-01 01:49:39 +0400 | [diff] [blame] | 107 | '/х/'=>'kh', |
sa | 948f021 | 2012-11-01 16:27:02 +0400 | [diff] [blame] | 108 | '/Ц/'=>'Tc', |
Andrey | 30563ff | 2012-11-01 01:49:39 +0400 | [diff] [blame] | 109 | '/ц/'=>'tc', |
sa | 948f021 | 2012-11-01 16:27:02 +0400 | [diff] [blame] | 110 | '/Ч/'=>'Ch', |
Andrey | 30563ff | 2012-11-01 01:49:39 +0400 | [diff] [blame] | 111 | '/ч/'=>'ch', |
sa | 948f021 | 2012-11-01 16:27:02 +0400 | [diff] [blame] | 112 | '/Ш/'=>'Sh', |
Andrey | 30563ff | 2012-11-01 01:49:39 +0400 | [diff] [blame] | 113 | '/ш/'=>'sh', |
sa | 948f021 | 2012-11-01 16:27:02 +0400 | [diff] [blame] | 114 | '/Щ/'=>'Shch', |
Andrey | 30563ff | 2012-11-01 01:49:39 +0400 | [diff] [blame] | 115 | '/щ/'=>'shch', |
sa | 948f021 | 2012-11-01 16:27:02 +0400 | [diff] [blame] | 116 | '/Ю/'=>'Iu', |
Andrey | 30563ff | 2012-11-01 01:49:39 +0400 | [diff] [blame] | 117 | '/ю/'=>'iu', |
sa | 948f021 | 2012-11-01 16:27:02 +0400 | [diff] [blame] | 118 | '/Я/'=>'Ia', |
Andrey | 30563ff | 2012-11-01 01:49:39 +0400 | [diff] [blame] | 119 | '/я/'=>'ia' |
Eric Barnes | 5e04480 | 2011-01-11 16:10:26 -0500 | [diff] [blame] | 120 | ); |
Derek Jones | daf9c01 | 2010-03-05 10:29:30 -0600 | [diff] [blame] | 121 | |
| 122 | /* End of file foreign_chars.php */ |
Derek Jones | f0b3994 | 2010-03-25 10:08:20 -0500 | [diff] [blame] | 123 | /* Location: ./application/config/foreign_chars.php */ |