Convert source code to UTF-8
[platal.git] / plugins / block.tidy.php
index 3af18ee..13c20a4 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2006 Polytechnique.org                              *
+ *  Copyright (C) 2003-2007 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -39,6 +39,7 @@ foreach($tidy_on as $opt) { tidy_setopt($opt, true); }
 foreach($tidy_off as $opt) { tidy_setopt($opt, false); }
 tidy_setopt('alt-text', '[ inserted by TIDY ]');
 tidy_setopt('wrap', '120');
+tidy_set_encoding('utf8');
 unset($tidy_o, $tydy_off);
 
 /*
@@ -55,4 +56,5 @@ function smarty_block_tidy($params, $content, &$smarty)
     return tidy_repair_string($content);
 }
 
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
 ?>