From 350459486d421675cb63ebdedf5b7d0cf3ceeb99 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Sat, 07 Jun 2008 08:51:21 -0400
Subject: [PATCH] Change meta-charset specififcation in HTML to UTF-8; no need for mb_convert_encoding() anymore

---
 program/lib/washtml.php |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/program/lib/washtml.php b/program/lib/washtml.php
index 7e1e0cd..73a02c6 100644
--- a/program/lib/washtml.php
+++ b/program/lib/washtml.php
@@ -187,8 +187,6 @@
     //Charset seems to be ignored (probably if defined in the HTML document)
     $node = new DOMDocument('1.0', $config['charset']);
     $full = true;
-    if (function_exists('mb_convert_encoding'))
-      $html = mb_convert_encoding($html, 'HTML-ENTITIES', $config['charset']);
     @$node->loadHTML($html);
     return self::dumpHtml($node, $config, $full);
   }

--
Gitblit v1.9.1