Exemple #1
0
 static function escapeJavaScriptTextForAlert($string)
 {
     if (function_exists("mb_convert_encoding")) {
         return mb_convert_encoding(FST_Helper::escapeJavaScriptText($string), 'UTF-8', 'HTML-ENTITIES');
     }
     return FST_Helper::escapeJavaScriptText($string);
 }