Romanji Script

'ぁ' '+i' => 'ぃ' '+u' => 'ぅ' '+e' => 'ぇ' '+o' => 'ぉ' '+tsu' => 'っ' '+wa' => 'ゎ' KATAKANA: '+a' => 'ァ' '+i' => 'ィ' '+u' => 'ゥ' '+e' => 'ェ' '+o' => 'ォ' '+ka' => 'ヵ' '+ke' => 'ヶ' '+tsu' => 'ッ' '+wa' => 'ヮ' */ if(!empty($_POST['texto'])) { $hiragana1 = array( 'shi' => 'し', 'chi' => 'ち', 'tsu' => 'つ', 'tzu' => 'つ', 'dsu' => 'づ', 'dzu' => 'づ', 'kya' => 'きゃ', 'kyu' => 'きゅ', 'kyo' => 'きょ', 'gya' => 'ぎゃ', 'gyu' => 'ぎゅ', 'gyo' => 'ぎょ', 'sha' => 'しゃ', 'shu' => 'しゅ', 'sho' => 'しょ', 'jya' => 'じゃ', 'jyu' => 'じゅ', 'jyo' => 'じょ', 'cha' => 'ちゃ', 'chu' => 'ちゅ', 'cho' => 'ちょ', 'hya' => 'ひゃ', 'hyu' => 'ひゅ', 'hyo' => 'ひょ', 'bya' => 'びゃ', 'byu' => 'びゅ', 'byo' => 'びょ', 'pya' => 'ぴゃ', 'pyu' => 'ぴゅ', 'pyo' => 'ぴょ', 'mya' => 'みゃ', 'myu' => 'みゅ', 'myo' => 'みょ', 'nya' => 'にゃ', 'nyu' => 'にゅ', 'nyo' => 'にょ', 'rya' => 'りゃ', 'ryu' => 'りゅ', 'ryo' => 'りょ', ); $hiragana2 = array( 'ka' => 'か', 'ki' => 'き', 'ku' => 'く', 'ke' => 'け', 'ko' => 'こ', 'ga' => 'が', 'gi' => 'ぎ', 'gu' => 'ぐ', 'ge' => 'げ', 'go' => 'ご', 'sa' => 'さ', 'si' => 'し', 'su' => 'す', 'se' => 'せ', 'so' => 'そ', 'za' => 'ざ', 'zi' => 'じ', 'ji' => 'じ', 'zu' => 'ず', 'ze' => 'ぜ', 'zo' => 'ぞ', 'ta' => 'た', 'ti' => 'ち', 'ci' => 'ち', 'tu' => 'つ', 'te' => 'て', 'to' => 'と', 'da' => 'だ', 'di' => 'ぢ', 'du' => 'づ', 'de' => 'で', 'do' => 'ど', 'na' => 'な', 'ni' => 'に', 'nu' => 'ぬ', 'ne' => 'ね', 'no' => 'の', 'ha' => 'は', 'hi' => 'ひ', 'hu' => 'ふ', 'fu' => 'ふ', 'he' => 'へ', 'ho' => 'ほ', 'ba' => 'ば', 'bi' => 'び', 'bu' => 'ぶ', 'be' => 'べ', 'bo' => 'ぼ', 'pa' => 'ぱ', 'pi' => 'ぴ', 'pu' => 'ぷ', 'pe' => 'ぺ', 'po' => 'ぽ', 'ma' => 'ま', 'mi' => 'み', 'mu' => 'む', 'me' => 'め', 'mo' => 'も', 'la' => 'ら', 'li' => 'り', 'lu' => 'る', 'le' => 'れ', 'lo' => 'ろ', 'ra' => 'ら', 'ri' => 'り', 'ru' => 'る', 're' => 'れ', 'ro' => 'ろ', 'wa' => 'わ', 'wi' => 'ゐ', 'we' => 'ゑ', 'wo' => 'を', 'ya' => 'や', 'yu' => 'ゆ', 'yo' => 'よ'); $hiragana3 = array("\n" => "
\n", 'a' => 'あ', 'i' => 'い', 'u' => 'う', 'e' => 'え', 'o' => 'お', 'n\'' => 'ん', 'n' => 'ん'); $katakana1 = array( 'shi' => 'シ', 'chi' => 'チ', '+tzu' => 'ッ', 'tsu' => 'ツ', 'tzu' => 'ツ', 'dsu' => 'ヅ', 'dzu' => 'ヅ', 'kya' => 'キャ', 'kyu' => 'キュ', 'kyo' => 'キョ', 'gya' => 'ギャ', 'gyu' => 'ギュ', 'gyo' => 'ギョ', 'sha' => 'シャ', 'shu' => 'シュ', 'sho' => 'ショ', 'jya' => 'ジャ', 'jyu' => 'ジュ', 'jyo' => 'ジョ', 'cha' => 'チャ', 'chu' => 'チュ', 'cho' => 'チョ', 'hya' => 'ヒャ', 'hyu' => 'ヒュ', 'hyo' => 'ヒョ', 'bya' => 'ビャ', 'byu' => 'ビュ', 'byo' => 'ビョ', 'pya' => 'ピャ', 'pyu' => 'ピュ', 'pyo' => 'ピョ', 'mya' => 'ミャ', 'myu' => 'ミュ', 'myo' => 'ミョ', 'nya' => 'ニャ', 'nyu' => 'ニュ', 'nyo' => 'ニョ', 'rya' => 'リャ', 'ryu' => 'リュ', 'ryo' => 'リョ', ); $katakana2 = array( 'ka' => 'カ', 'ki' => 'キ', 'ku' => 'ク', 'ke' => 'ケ', 'ko' => 'コ', 'ga' => 'ガ', 'gi' => 'ギ', 'gu' => 'グ', 'ge' => 'ゲ', 'go' => 'ゴ', 'sa' => 'サ', 'si' => 'シ', 'su' => 'ス', 'se' => 'セ', 'so' => 'ソ', 'za' => 'ザ', 'zi' => 'ジ', 'ji' => 'ジ', 'zu' => 'ズ', 'ze' => 'ゼ', 'zo' => 'ゾ', 'ta' => 'タ', 'ti' => 'チ', 'ci' => 'チ', 'tu' => 'ツ', 'te' => 'テ', 'to' => 'ト', 'da' => 'ダ', 'di' => 'ヂ', 'du' => 'ヅ', 'de' => 'デ', 'do' => 'ド', 'na' => 'ナ', 'ni' => 'ニ', 'nu' => 'ヌ', 'ne' => 'ネ', 'no' => 'ノ', 'ha' => 'ハ', 'hi' => 'ヒ', 'hu' => 'フ', 'fu' => 'フ', 'he' => 'ヘ', 'ho' => 'ホ', 'ba' => 'バ', 'bi' => 'ビ', 'bu' => 'ブ', 'be' => 'ベ', 'bo' => 'ボ', 'pa' => 'パ', 'pi' => 'ピ', 'pu' => 'プ', 'pe' => 'ペ', 'po' => 'ポ', 'ma' => 'マ', 'mi' => 'ミ', 'mu' => 'ム', 'me' => 'メ', 'mo' => 'モ', 'la' => 'ラ', 'li' => 'リ', 'lu' => 'ル', 'le' => 'レ', 'lo' => 'ロ', 'ra' => 'ラ', 'ri' => 'リ', 'ru' => 'ル', 're' => 'レ', 'ro' => 'ロ', 'wa' => 'ワ', 'wi' => 'ヰ', 'we' => 'ヱ', 'wo' => 'ヲ', 'vu' => 'ヴ', 'ya' => 'ヤ', 'yu' => 'ユ', 'yo' => 'ヨ'); $katakana3 = array("\n" => "
\n", 'a' => 'ア', 'i' => 'イ', 'u' => 'ウ', 'e' => 'エ', 'o' => 'オ', "n'" => "ン", 'n' => 'ン'); $text = strtolower($_POST['texto']); switch($_POST['escrita']) { case '0': $text = strtr($text, $hiragana1); $text = strtr($text, $hiragana2); $text = strtr($text, $hiragana3); break; case '1': $text = strtr($text, $katakana1); $text = strtr($text, $katakana2); $text = strtr($text, $katakana3); break; } echo $text."

\nVoltar"; } else { ?>
Texto:

Converter para:
Script desenvolvido por Raz0r