blob: e151364ad219a422eebbea992313161e10bdbaeb [file] [log] [blame]
darwineld8bef8a2014-02-11 20:13:22 +01001<?php
Derek Jonesf4a4bd82011-10-20 12:18:42 -05002/**
3 * CodeIgniter
4 *
Phil Sturgeon07c1ac82012-03-09 17:03:37 +00005 * An open source application development framework for PHP 5.2.4 or newer
Derek Jonesf4a4bd82011-10-20 12:18:42 -05006 *
7 * NOTICE OF LICENSE
Andrey Andreeve734b382012-03-26 13:42:36 +03008 *
Derek Jonesf4a4bd82011-10-20 12:18:42 -05009 * Licensed under the Academic Free License version 3.0
Andrey Andreeve734b382012-03-26 13:42:36 +030010 *
Derek Jones61df9062011-10-21 09:55:40 -050011 * This source file is subject to the Academic Free License (AFL 3.0) that is
Derek Jonesf4a4bd82011-10-20 12:18:42 -050012 * 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
darwinel871754a2014-02-11 17:34:57 +010021 * @copyright Copyright (c) 2008 - 2014, EllisLab, Inc. (http://ellislab.com/)
Derek Jonesf4a4bd82011-10-20 12:18:42 -050022 * @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 */
darwineld8bef8a2014-02-11 20:13:22 +010027defined('BASEPATH') OR exit('No direct script access allowed');
Derek Jonesf4a4bd82011-10-20 12:18:42 -050028
Derek Jonesdaf9c012010-03-05 10:29:30 -060029/*
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 Barnes5e044802011-01-11 16:10:26 -050037$foreign_characters = array(
38 '/ä|æ|ǽ/' => 'ae',
39 '/ö|œ/' => 'oe',
40 '/ü/' => 'ue',
41 '/Ä/' => 'Ae',
42 '/Ü/' => 'Ue',
43 '/Ö/' => 'Oe',
Andrey30563ff2012-11-01 01:49:39 +040044 '/À|Á|Â|Ã|Ä|Å|Ǻ|Ā|Ă|Ą|Ǎ|Α|Ά|Ả|Ạ|Ầ|Ẫ|Ẩ|Ậ|Ằ|Ắ|Ẵ|Ẳ|Ặ|А/' => 'A',
45 '/à|á|â|ã|å|ǻ|ā|ă|ą|ǎ|ª|α|ά|ả|ạ|ầ|ấ|ẫ|ẩ|ậ|ằ|ắ|ẵ|ẳ|ặ|а/' => 'a',
46 '/Б/' => 'B',
47 '/б/' => 'b',
Eric Barnes5e044802011-01-11 16:10:26 -050048 '/Ç|Ć|Ĉ|Ċ|Č/' => 'C',
49 '/ç|ć|ĉ|ċ|č/' => 'c',
Andrey30563ff2012-11-01 01:49:39 +040050 '/Д/' => 'D',
51 '/д/' => 'd',
George Petsagourakis25ead352012-04-24 20:07:58 +030052 '/Ð|Ď|Đ|Δ/' => 'Dj',
53 '/ð|ď|đ|δ/' => 'dj',
Sergey Noskovcf524a62013-08-25 13:52:48 +030054 '/È|É|Ê|Ë|Ē|Ĕ|Ė|Ę|Ě|Ε|Έ|Ẽ|Ẻ|Ẹ|Ề|Ế|Ễ|Ể|Ệ|Е|Э/' => 'E',
55 '/è|é|ê|ë|ē|ĕ|ė|ę|ě|έ|ε|ẽ|ẻ|ẹ|ề|ế|ễ|ể|ệ|е|э/' => 'e',
Andrey30563ff2012-11-01 01:49:39 +040056 '/Ф/' => 'F',
57 '/ф/' => 'f',
Sergey Noskovcf524a62013-08-25 13:52:48 +030058 '/Ĝ|Ğ|Ġ|Ģ|Γ|Г|Ґ/' => 'G',
59 '/ĝ|ğ|ġ|ģ|γ|г|ґ/' => 'g',
Eric Barnes5e044802011-01-11 16:10:26 -050060 '/Ĥ|Ħ/' => 'H',
61 '/ĥ|ħ/' => 'h',
Sergey Noskovcf524a62013-08-25 13:52:48 +030062 '/Ì|Í|Î|Ï|Ĩ|Ī|Ĭ|Ǐ|Į|İ|Η|Ή|Ί|Ι|Ϊ|Ỉ|Ị|И|Ы/' => 'I',
63 '/ì|í|î|ï|ĩ|ī|ĭ|ǐ|į|ı|η|ή|ί|ι|ϊ|ỉ|ị|и|ы|ї/' => 'i',
Eric Barnes5e044802011-01-11 16:10:26 -050064 '/Ĵ/' => 'J',
65 '/ĵ/' => 'j',
Andrey30563ff2012-11-01 01:49:39 +040066 '/Ķ|Κ|К/' => '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 Noskovcf524a62013-08-25 13:52:48 +030084 '/Ù|Ú|Û|Ũ|Ū|Ŭ|Ů|Ű|Ų|Ư|Ǔ|Ǖ|Ǘ|Ǚ|Ǜ|Ũ|Ủ|Ụ|Ừ|Ứ|Ữ|Ử|Ự|У/' => 'U',
85 '/ù|ú|û|ũ|ū|ŭ|ů|ű|ų|ư|ǔ|ǖ|ǘ|ǚ|ǜ|υ|ύ|ϋ|ủ|ụ|ừ|ứ|ữ|ử|ự|у/' => 'u',
86 '/Ý|Ÿ|Ŷ|Υ|Ύ|Ϋ|Ỳ|Ỹ|Ỷ|Ỵ|Й/' => 'Y',
87 '/ý|ÿ|ŷ|ỳ|ỹ|ỷ|ỵ|й/' => 'y',
Andrey30563ff2012-11-01 01:49:39 +040088 '/В/' => 'V',
89 '/в/' => 'v',
Eric Barnes5e044802011-01-11 16:10:26 -050090 '/Ŵ/' => 'W',
91 '/ŵ/' => 'w',
Andrey30563ff2012-11-01 01:49:39 +040092 '/Ź|Ż|Ž|Ζ|З/' => 'Z',
93 '/ź|ż|ž|ζ|з/' => 'z',
Eric Barnes5e044802011-01-11 16:10:26 -050094 '/Æ|Ǽ/' => 'AE',
Sergey Noskovcf524a62013-08-25 13:52:48 +030095 '/ß/' => 'ss',
Eric Barnes5e044802011-01-11 16:10:26 -050096 '/IJ/' => 'IJ',
97 '/ij/' => 'ij',
98 '/Œ/' => 'OE',
George Petsagourakis25ead352012-04-24 20:07:58 +030099 '/ƒ/' => 'f',
100 '/ξ/' => 'ks',
101 '/π/' => 'p',
102 '/β/' => 'v',
103 '/μ/' => 'm',
104 '/ψ/' => 'ps',
Sergey Noskovcf524a62013-08-25 13:52:48 +0300105 '/Ё/' => '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 Barnes5e044802011-01-11 16:10:26 -0500127);
Derek Jonesdaf9c012010-03-05 10:29:30 -0600128
129/* End of file foreign_chars.php */
Derek Jonesf0b39942010-03-25 10:08:20 -0500130/* Location: ./application/config/foreign_chars.php */