mirror of
https://github.com/e107inc/e107.git
synced 2025-07-29 19:00:26 +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.
|
||||
$doc = $this->domObj;
|
||||
libxml_use_internal_errors(true);
|
||||
@$doc->loadHTML($html);
|
||||
@$doc->loadHTML($html, 'HTML-ENTITIES', 'UTF-8');
|
||||
// $doc->encoding = 'UTF-8';
|
||||
|
||||
// $doc->resolveExternals = true;
|
||||
|
Reference in New Issue
Block a user