<?<span> $file = file_get_contents("text.txt");</span><span> $arr = array(</span><span> "а" => "я",</span><span> "е" => "ю",</span><span> "ё" => "э",</span><span> "и" => "ы",</span><span> "о" => "у",</span><span> "я" => "а",</span><span> "ю" => "е",</span><span> "э" => "ё",</span><span> "ы" => "и",</span><span> "у" => "о",</span><span> "б" => "г",</span><span> "г" => "д",</span><span> "д" => "ж",</span><span> "ж" => "з",</span><span> "з" => "й",</span><span> "й" => "к",</span><span> "к" => "л",</span><span> "л" => "м",</span><span> "м" => "н",</span><span> "н" => "п",</span><span> "п" => "р",</span><span> "р" => "с",</span><span> "с" => "т",</span><span> "т" => "ф",</span><span> "ф" => "х",</span><span> "х" => "ц",</span><span> "ц" => "ч",</span><span> "ч" => "ш",</span><span> "ш" => "щ",</span><span> "щ" => "ъ",</span><span> "ъ" => "ь",</span><span> "ь" => "б",</span><span> "А" => "Я",</span><span> "Е" => "Ю",</span><span> "Ё" => "Э",</span><span> "И" => "Ы",</span><span> "О" => "У",</span><span> "Я" => "А",</span><span> "Ю" => "Е",</span><span> "Э" => "Ё",</span><span> "Ы" => "И",</span><span> "У" => "О",</span><span> "Б" => "Г",</span><span> "Г" => "Д",</span><span> "Д" => "Ж",</span><span> "Ж" => "З",</span><span> "З" => "Й",</span><span> "Й" => "К",</span><span> "К" => "Л",</span><span> "Л" => "М",</span><span> "М" => "Н",</span><span> "Н" => "П",</span><span> "П" => "Р",</span><span> "Р" => "С",</span><span> "С" => "Т",</span><span> "Т" => "Ф",</span><span> "Ф" => "Х",</span><span> "Х" => "Ц",</span><span> "Ц" => "Ч",</span><span> "Ч" => "Ш",</span><span> "Ш" => "Щ",</span><span> "Щ" => "Ъ",</span><span> "Ъ" => "Ь",</span><span> "Ь" => "Б"</span><span> );</span><span> print(strtr($file, $arr));</span><span>?>
Это простая замена, PHP, я когда-то наспех делал, пригодится может:)</span>