Replace calls to htmlspecialchars() with sm_encode_html_special_chars().
[squirrelmail.git] / plugins / translate / functions.php
index f17f7a12c031767dd1dd9d323b7effb869fbce3f..c515cdd4f2019580419b466b5c62dd4778746ba7 100644 (file)
@@ -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";