mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 03:10:50 +02:00
Merge pull request #1362 from Serios/patch-2
Fix for non-Latin characters in textareas
This commit is contained in:
@@ -4139,7 +4139,7 @@ return;
|
|||||||
// libxml_use_internal_errors(true); // hides errors.
|
// libxml_use_internal_errors(true); // hides errors.
|
||||||
$doc = $this->domObj;
|
$doc = $this->domObj;
|
||||||
libxml_use_internal_errors(true);
|
libxml_use_internal_errors(true);
|
||||||
@$doc->loadHTML($html);
|
@$doc->loadHTML($html, 'HTML-ENTITIES', 'UTF-8');
|
||||||
// $doc->encoding = 'UTF-8';
|
// $doc->encoding = 'UTF-8';
|
||||||
|
|
||||||
// $doc->resolveExternals = true;
|
// $doc->resolveExternals = true;
|
||||||
|
Reference in New Issue
Block a user