2013-11-26 KIKUCHI Koichiro <koichiro@rworks.jp>

* extensions/insert_data.php: Use UTF-8 for output XML encoding.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9130 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
koichirok 2013-11-26 11:20:59 +00:00
parent afc74d06b9
commit 6f4d27af65
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2013-11-26 KIKUCHI Koichiro <koichiro@rworks.jp>
* extensions/insert_data.php: Use UTF-8 for output XML encoding.
2013-11-26 KIKUCHI Koichiro <koichiro@rworks.jp>
* extensions/insert_data.php: Fixed a date time format used for

View File

@ -23,7 +23,7 @@ include_once($config['homedir'] . "/include/functions.php");
function createXMLData($agent, $agentModule, $time, $data) {
global $config;
$xmlTemplate = "<?xml version='1.0' encoding='ISO-8859-1'?>
$xmlTemplate = "<?xml version='1.0' encoding='UTF-8'?>
<agent_data description='' group='' os_name='%s' " .
" os_version='%s' interval='%d' version='%s' timestamp='%s' agent_name='%s' timezone_offset='%d'>
<module>