mirror of
https://github.com/e107inc/e107.git
synced 2025-01-17 20:58:30 +01:00
Propper fix for #1362
Should work now with both latin and non latin characters
This commit is contained in:
parent
12a2084cbb
commit
a8513581ab
@ -4141,7 +4141,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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user