diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index a2b050ab42..2cba72bddf 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2014-01-09 Junichi Satoh + + * godmode/servers/plugin.php: Fixed that unexpected strings are set + in parameter macro fields when multi-byte characters are entered. + 2014-01-08 Miguel de Dios * general/header.php: fixed the empty action with trying to write diff --git a/pandora_console/godmode/servers/plugin.php b/pandora_console/godmode/servers/plugin.php index 1d718437ff..9c40eaecb4 100644 --- a/pandora_console/godmode/servers/plugin.php +++ b/pandora_console/godmode/servers/plugin.php @@ -406,7 +406,7 @@ else { $i++; } - $macros = json_encode($macros); + $macros = io_json_mb_encode($macros); $values = array( 'name' => $plugin_name, @@ -460,7 +460,7 @@ else { $i++; } - $macros = json_encode($macros); + $macros = io_json_mb_encode($macros); $values = array( 'name' => $plugin_name,