summaryrefslogtreecommitdiff
path: root/inc/utf8.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2007-10-15 19:06:03 +0200
committerAndreas Gohr <andi@splitbrain.org>2007-10-15 19:06:03 +0200
commit014d0ab65509e597b262c7fbfea633e1d0a5dc23 (patch)
tree71f24ff9966764593018e2fa75d99e070af161b7 /inc/utf8.php
parentb16139af2d25271bee04dfc7d6d72779f4bda2cf (diff)
downloadrpg-014d0ab65509e597b262c7fbfea633e1d0a5dc23.tar.gz
rpg-014d0ab65509e597b262c7fbfea633e1d0a5dc23.tar.bz2
fixed Thai romanization
darcs-hash:20071015170603-7ad00-cce18a874fa1857af1717519cac14e86f986c7f2.gz
Diffstat (limited to 'inc/utf8.php')
-rw-r--r--inc/utf8.php21
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',