function utf8($str) { $str=convert_cyr_string($str,"w","i"); $str=mb_convert_encoding($str, "UTF-8", "ISO-8859-5"); return $str; }