diff options
-rw-r--r-- | inc/utf8.php | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/inc/utf8.php b/inc/utf8.php index fcc49d509..bfd09d68f 100644 --- a/inc/utf8.php +++ b/inc/utf8.php @@ -1179,6 +1179,7 @@ $UTF8_SPECIAL_CHARS2 = * @link http://www.translatum.gr/converter/greek-transliteration.htm * @link http://en.wikipedia.org/wiki/Royal_Thai_General_System_of_Transcription * @link http://www.btranslations.com/resources/romanization/korean.asp + * @author Arthit Suriyawongkul <arthit@gmail.com> */ global $UTF8_ROMANIZATION; $UTF8_ROMANIZATION = array( @@ -1309,14 +1310,18 @@ $UTF8_ROMANIZATION = array( 'น'=>'n','บ'=>'b','ป'=>'p','ผ'=>'ph','ฝ'=>'f','พ'=>'ph','ฟ'=>'f','ภ'=>'ph', 'ม'=>'m','ย'=>'y','ร'=>'r','ฤ'=>'rue','ฤๅ'=>'rue','ล'=>'l','ฦ'=>'lue', 'ฦๅ'=>'lue','ว'=>'w','ศ'=>'s','ษ'=>'s','ส'=>'s','ห'=>'h','ฬ'=>'l','ฮ'=>'h', - 'ะ'=>'a','–ั'=>'a','รร'=>'a','า'=>'a','รร'=>'an','ำ'=>'am','–ิ'=>'i','–ี'=>'i', - '–ึ'=>'ue','–ื'=>'ue','–ุ'=>'u','–ู'=>'u','เะ'=>'e','เ–็'=>'e','เ'=>'e','แะ'=>'ae', - 'แ'=>'ae','โะ'=>'o','โ'=>'o','เาะ'=>'o','อ'=>'o','เอะ'=>'oe','เ–ิ'=>'oe', - 'เอ'=>'oe','เ–ียะ'=>'ia','เ–ีย'=>'ia','เ–ือะ'=>'uea','เ–ือ'=>'uea','–ัวะ'=>'ua', - '–ัว'=>'ua','ว'=>'ua','ใ'=>'ai','ไ'=>'ai','–ัย'=>'ai','ไย'=>'ai','าย'=>'ai', - 'เา'=>'ao','าว'=>'ao','–ุย'=>'ui','โย'=>'oi','อย'=>'oi','เย'=>'oei','เ–ือย'=>'ueai', - 'วย'=>'uai','–ิว'=>'io','เ–็ว'=>'eo','เว'=>'eo','แ–็ว'=>'aeo','แว'=>'aeo', - 'เ–ียว'=>'iao', + 'ะ'=>'a','ั'=>'a','รร'=>'a','า'=>'a','ๅ'=>'a','ำ'=>'am','ํา'=>'am', + 'ิ'=>'i','ี'=>'i','ึ'=>'ue','ี'=>'ue','ุ'=>'u','ู'=>'u', + 'เ'=>'e','แ'=>'ae','โ'=>'o','อ'=>'o', + 'ียะ'=>'ia','ีย'=>'ia','ือะ'=>'uea','ือ'=>'uea','ัวะ'=>'ua','ัว'=>'ua', + 'ใ'=>'ai','ไ'=>'ai','ัย'=>'ai','าย'=>'ai','าว'=>'ao', + 'ุย'=>'ui','อย'=>'oi','ือย'=>'ueai','วย'=>'uai', + 'ิว'=>'io','็ว'=>'eo','ียว'=>'iao', + '่'=>'','้'=>'','๊'=>'','๋'=>'','็'=>'', + '์'=>'','๎'=>'','ํ'=>'','ฺ'=>'', + 'ๆ'=>'2','๏'=>'o','ฯ'=>'-','๚'=>'-','๛'=>'-', + '๐'=>'0','๑'=>'1','๒'=>'2','๓'=>'3','๔'=>'4', + '๕'=>'5','๖'=>'6','๗'=>'7','๘'=>'8','๙'=>'9', // Korean 'ㄱ'=>'k','ㅋ'=>'kh','ㄲ'=>'kk','ㄷ'=>'t','ㅌ'=>'th','ㄸ'=>'tt','ㅂ'=>'p', |