X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=plugins%2Ftranslate%2Ffunctions.php;fp=plugins%2Ftranslate%2Ffunctions.php;h=c515cdd4f2019580419b466b5c62dd4778746ba7;hb=3047e291f2982efe9501ec790faafd3da843d22d;hp=f17f7a12c031767dd1dd9d323b7effb869fbce3f;hpb=ffa9cc0ed8a813c3009a2aa03cde7f883f4bed32;p=squirrelmail.git diff --git a/plugins/translate/functions.php b/plugins/translate/functions.php index f17f7a12..c515cdd4 100644 --- a/plugins/translate/functions.php +++ b/plugins/translate/functions.php @@ -456,7 +456,7 @@ function translate_new_form($action,$charset=null) { } if (! is_null($charset)) - echo ' accept-charset="'.htmlspecialchars($charset).'"'; + echo ' accept-charset="'.sm_encode_html_special_chars($charset).'"'; echo ">\n";