From 4683560e47cebfd57dbe3d573ae23499d299bdca Mon Sep 17 00:00:00 2001 From: Hamid Abbaszadeh Date: Fri, 10 Oct 2014 17:28:21 +0330 Subject: [PATCH 1/2] Add persian characters MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I add this // Persian 'ک'=>,'k','گ'=>'g','پ'=>'p','ژ'=>'zh','ی'=>'i','چ'=>'ch', --- system/helper/utf8_lookup.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/system/helper/utf8_lookup.php b/system/helper/utf8_lookup.php index a19286262e..0a4a93a63e 100644 --- a/system/helper/utf8_lookup.php +++ b/system/helper/utf8_lookup.php @@ -222,6 +222,9 @@ 'ا'=>'a','ب'=>'b','ت'=>'t','ث'=>'th','ج'=>'g','ح'=>'xh','خ'=>'x','د'=>'d','ذ'=>'dh','ر'=>'r', 'ز'=>'z','س'=>'s','ش'=>'sh','ص'=>'s\'','ض'=>'d\'','ط'=>'t\'','ظ'=>'z\'','ع'=>'y','غ'=>'gh', 'ف'=>'f','ق'=>'q','ك'=>'k','ل'=>'l','م'=>'m','ن'=>'n','ه'=>'x\'','و'=>'u','ي'=>'i', + + // Persian + 'ک'=>,'k','گ'=>'g','پ'=>'p','ژ'=>'zh','ی'=>'i','چ'=>'ch', // Japanese hiragana 'あ'=>'a','え'=>'e','い'=>'i','お'=>'o','う'=>'u','ば'=>'ba','べ'=>'be','び'=>'bi','ぼ'=>'bo','ぶ'=>'bu', From 3414ec36e969bc1ac8ddf7da2f2a1635bb6f8702 Mon Sep 17 00:00:00 2001 From: Hamid Abbaszadeh Date: Sat, 11 Oct 2014 10:12:03 +0330 Subject: [PATCH 2/2] Update utf8_lookup.php There was an extra ",". corected. --- system/helper/utf8_lookup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/helper/utf8_lookup.php b/system/helper/utf8_lookup.php index 0a4a93a63e..586e0994fa 100644 --- a/system/helper/utf8_lookup.php +++ b/system/helper/utf8_lookup.php @@ -224,7 +224,7 @@ 'ف'=>'f','ق'=>'q','ك'=>'k','ل'=>'l','م'=>'m','ن'=>'n','ه'=>'x\'','و'=>'u','ي'=>'i', // Persian - 'ک'=>,'k','گ'=>'g','پ'=>'p','ژ'=>'zh','ی'=>'i','چ'=>'ch', + 'ک'=>'k','گ'=>'g','پ'=>'p','ژ'=>'zh','ی'=>'i','چ'=>'ch', // Japanese hiragana 'あ'=>'a','え'=>'e','い'=>'i','お'=>'o','う'=>'u','ば'=>'ba','べ'=>'be','び'=>'bi','ぼ'=>'bo','ぶ'=>'bu',