From 613df874b7f12f676461522950d2ccfda6f0c68d Mon Sep 17 00:00:00 2001 From: jsatoh Date: Thu, 9 Jan 2014 09:50:43 +0000 Subject: [PATCH] 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. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9302 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/godmode/servers/plugin.php | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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,