After a little search i found that "includes/JSON.php" does a conversion that completely ruins the greek part of string...
See my solution but i could use a better one... You will see why
I found that if change line 131 from
PHP Code:
$ascii .= sprintf('\u%04s',bin2hex($char));
to
PHP Code:
$ascii .= $char; //sprintf('\u%04s',bin2hex($char));
it works fine, but what happens with future updates?
Bigger part of script
PHP Code:
if ($this->multibyte == false) {
if (ord($var{$c}) <= 0xFF) {
$char = pack('C*', ord($var{$c}));
$ascii .= $char; //sprintf('\u%04s',bin2hex($char));
} else {
$ascii .= $var{$c};
}
} else {...
Bookmarks