summaryrefslogtreecommitdiff
path: root/program/lib/washtml.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2008-06-07 12:51:21 +0000
committerthomascube <thomas@roundcube.net>2008-06-07 12:51:21 +0000
commit350459486d421675cb63ebdedf5b7d0cf3ceeb99 (patch)
tree463bf2acaaeefa63857e7ab898de00de2cc23247 /program/lib/washtml.php
parentc3ab753765d7caac22c97a582cf1216ffe7018f1 (diff)
Change meta-charset specififcation in HTML to UTF-8; no need for mb_convert_encoding() anymore
Diffstat (limited to 'program/lib/washtml.php')
-rw-r--r--program/lib/washtml.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/program/lib/washtml.php b/program/lib/washtml.php
index 7e1e0cd6d..73a02c6d3 100644
--- a/program/lib/washtml.php
+++ b/program/lib/washtml.php
@@ -187,8 +187,6 @@ class washtml
//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);
}