mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Propper fix for #1362
Should work now with both latin and non latin characters
This commit is contained in:
@@ -4141,6 +4141,8 @@ return;
|
||||
// libxml_use_internal_errors(true); // hides errors.
|
||||
$doc = $this->domObj;
|
||||
libxml_use_internal_errors(true);
|
||||
// @$doc->loadHTML($html);
|
||||
$html = mb_convert_encoding($html, 'HTML-ENTITIES', "UTF-8");
|
||||
@$doc->loadHTML($html);
|
||||
// $doc->encoding = 'UTF-8';
|
||||
|
||||
|
Reference in New Issue
Block a user