summaryrefslogtreecommitdiffstats
path: root/system/application/config/foreign_chars.php
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2010-03-05 17:29:30 +0100
committerDerek Jones <derek.jones@ellislab.com>2010-03-05 17:29:30 +0100
commitdaf9c01a2c25515eea87fb4f4c905f49c30d0214 (patch)
treed14be99b84071c0c356de38dd8d8cf381825b79a /system/application/config/foreign_chars.php
parent1e1419229ea85b9928f2b0f7d2bad1f5cefc3946 (diff)
added convert_accented_characters() function to Text Helper
Diffstat (limited to 'system/application/config/foreign_chars.php')
-rw-r--r--system/application/config/foreign_chars.php64
1 files changed, 64 insertions, 0 deletions
diff --git a/system/application/config/foreign_chars.php b/system/application/config/foreign_chars.php
new file mode 100644
index 000000000..8d70a2f62
--- /dev/null
+++ b/system/application/config/foreign_chars.php
@@ -0,0 +1,64 @@
+<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
+/*
+| -------------------------------------------------------------------
+| Foreign Characters
+| -------------------------------------------------------------------
+| This file contains an array of foreign characters for transliteration
+| conversion used by the Text helper
+|
+*/
+$foreign_characters = array('223' => "ss", // ß
+ '224' => "a",
+ '225' => "a",
+ '226' => "a",
+ '229' => "a",
+ '227' => "ae",
+ '230' => "ae",
+ '228' => "ae",
+ '231' => "c",
+ '232' => "e", // è
+ '233' => "e", // é
+ '234' => "e", // ê
+ '235' => "e", // ë
+ '236' => "i",
+ '237' => "i",
+ '238' => "i",
+ '239' => "i",
+ '241' => "n",
+ '242' => "o",
+ '243' => "o",
+ '244' => "o",
+ '245' => "o",
+ '246' => "oe", // ö
+ '249' => "u",
+ '250' => "u",
+ '251' => "u",
+ '252' => "ue", // ü
+ '255' => "y",
+ '257' => "aa",
+ '269' => "ch",
+ '275' => "ee",
+ '291' => "gj",
+ '299' => "ii",
+ '311' => "kj",
+ '316' => "lj",
+ '326' => "nj",
+ '353' => "sh",
+ '363' => "uu",
+ '382' => "zh",
+ '256' => "aa",
+ '268' => "ch",
+ '274' => "ee",
+ '290' => "gj",
+ '298' => "ii",
+ '310' => "kj",
+ '315' => "lj",
+ '325' => "nj",
+ '352' => "sh",
+ '362' => "uu",
+ '381' => "zh",
+ );
+
+
+/* End of file foreign_chars.php */
+/* Location: ./system/application/config/foreign_chars.php */ \ No newline at end of file