diff --git a/e107_handlers/e_parse_class.php b/e107_handlers/e_parse_class.php index 4c70a0ce0..a2b6f2ade 100644 --- a/e107_handlers/e_parse_class.php +++ b/e107_handlers/e_parse_class.php @@ -4151,7 +4151,9 @@ return; // libxml_use_internal_errors(true); // hides errors. $doc = $this->domObj; libxml_use_internal_errors(true); - @$doc->loadHTML($html); + // @$doc->loadHTML($html); + $html = mb_convert_encoding($html, 'HTML-ENTITIES', "UTF-8"); + @$doc->loadHTML($html); // $doc->encoding = 'UTF-8'; // $doc->resolveExternals = true;