function form_force_encodings($source, &$smarty)
{
return preg_replace('/<form[^\w]/',
- '\0 accept-charset="iso-8859-15 latin9 us-ascii ascii" ',
+ '\0 accept-charset="utf-8" ',
$source);
}
function hide_emails($source, &$smarty)
{
- fix_encoding($source);
-
//prevent email replacement in <script> and <textarea>
$tags = '(script|textarea|select)';
preg_match_all("!<$tags.*?>.*?</$tags>!is", $source, $tagsmatches);
// }}}
-// vim:set et sw=4 sts=4 sws=4 foldmethod=marker:
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
?>