latin1 is not a valid parameter for htmlspecialchars(), changed fallback charset to UTF-8

This commit is contained in:
Nathan Gray 2009-08-06 21:07:06 +00:00
parent bb5511cc9f
commit 20fad24579

View File

@ -197,7 +197,7 @@
function xmlrpc_encode_entities($data)
{
return htmlspecialchars($data,ENT_QUOTES,$GLOBALS['egw']->translation->system_charset ?
$GLOBALS['egw']->translation->system_charset : 'latin1');
$GLOBALS['egw']->translation->system_charset : 'UTF-8');
}
if (!function_exists('htmlspecialchars_decode')) // php < 5.1