mirror of
https://github.com/moodle/moodle.git
synced 2025-02-04 15:18:58 +01:00
17 lines
286 B
PHP
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);
|
|
}
|
|
|
|
?>
|