Index: branches/5.2.x/core/units/helpers/language_import_helper.php =================================================================== diff -u -N -r15608 -r15856 --- branches/5.2.x/core/units/helpers/language_import_helper.php (.../language_import_helper.php) (revision 15608) +++ branches/5.2.x/core/units/helpers/language_import_helper.php (.../language_import_helper.php) (revision 15856) @@ -1,6 +1,6 @@ _exportEncoding . '"'; foreach ($export_fields as $export_field) { - $ret .= ' ' . $export_field . '="' . htmlspecialchars($language_info[$export_field], NULL, CHARSET) . '"'; + $ret .= ' ' . $export_field . '="' . kUtil::escape($language_info[$export_field], kUtil::ESCAPE_HTML) . '"'; } $ret .= '>' . "\n"; @@ -363,8 +363,8 @@ $column_translation = base64_encode($column_translation); } else { - $hint_translation = htmlspecialchars($hint_translation, NULL, CHARSET); - $column_translation = htmlspecialchars($column_translation, NULL, CHARSET); + $hint_translation = kUtil::escape($hint_translation, kUtil::ESCAPE_HTML); + $column_translation = kUtil::escape($column_translation, kUtil::ESCAPE_HTML); } $attributes = Array (