diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-06-07 12:51:21 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-06-07 12:51:21 +0000 |
| commit | 58e46212b590ae379d3ae290c1c2a4a5e45d0d10 (patch) | |
| tree | 849807fa4418ace2608ca38d4e44e61c44854a49 /roundcubemail/program/lib | |
| parent | 0478bfae796e079b6bc09316ded8c1df30220f44 (diff) | |
Change meta-charset specififcation in HTML to UTF-8; no need for mb_convert_encoding() anymore
git-svn-id: https://svn.roundcube.net/trunk@1487 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/lib')
| -rw-r--r-- | roundcubemail/program/lib/washtml.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/roundcubemail/program/lib/washtml.php b/roundcubemail/program/lib/washtml.php index 7e1e0cd6d..73a02c6d3 100644 --- a/roundcubemail/program/lib/washtml.php +++ b/roundcubemail/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); } |
