From: Michael M Slusarz Date: Mon, 18 Oct 2010 23:48:33 +0000 (-0600) Subject: Fixes for charset changes - make Cleanhtml work properly again X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=880ef2d438e4505c586a3a2caa3abb9859ca41e0;p=horde.git Fixes for charset changes - make Cleanhtml work properly again --- diff --git a/framework/Text_Filter/lib/Horde/Text/Filter/Cleanhtml.php b/framework/Text_Filter/lib/Horde/Text/Filter/Cleanhtml.php index 934a70d50..3c57794ca 100644 --- a/framework/Text_Filter/lib/Horde/Text/Filter/Cleanhtml.php +++ b/framework/Text_Filter/lib/Horde/Text/Filter/Cleanhtml.php @@ -6,6 +6,8 @@ *
  * body_only - (boolean) Only return the body data?
  *             DEFAULT: Return the whole HTML document
+ * charset - (string) Charset of the data.
+ *           DEFAULT: UTF-8
  * size - (integer) Only filter if data is below this size.
  *        DEFAULT: No default
  * 
@@ -29,7 +31,7 @@ class Horde_Text_Filter_Cleanhtml extends Horde_Text_Filter_Base */ protected $_params = array( 'body_only' => false, - 'charset' => 'us-ascii', + 'charset' => 'UTF-8', 'size' => false );