moodle/lang/el/fonts/lang_decode.php
2004-04-28 15:02:21 +00:00

17 lines
286 B
PHP

<?php
function lang_decode($s) {
/*
$len = strlen($s);
$out = '';
for($i=0; $i < $len; $i++) {
$ch = ord($s[$i]);
$out .= $ch > 128 && $ch < 256 ? '&#'.(720 + $ch).';' : chr($ch);
}
return $out;
*/
return iconv('ISO-8859-7', 'UTF-8', $s);
}
?>