Index: branches/5.3.x/core/units/helpers/xml_helper.php =================================================================== diff -u -N -r15483 -r15677 --- branches/5.3.x/core/units/helpers/xml_helper.php (.../xml_helper.php) (revision 15483) +++ branches/5.3.x/core/units/helpers/xml_helper.php (.../xml_helper.php) (revision 15677) @@ -1,6 +1,6 @@ OriginalAttributes as $name => $value) { - $att_contents[] = $name.'="'.htmlspecialchars($value).'"'; + $att_contents[] = $name.'="'.htmlspecialchars($value, null, CHARSET).'"'; } $xml .= implode(' ', $att_contents); }