mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
latin1 is not a valid parameter for htmlspecialchars(), changed fallback charset to UTF-8
This commit is contained in:
parent
bb5511cc9f
commit
20fad24579
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user