add comment that DOMDocument('1.0', 'UTF-8') does not work
This commit is contained in:
parent
06e325d61b
commit
05439831e7
@ -113,7 +113,8 @@ class oEmbedHelper
|
|||||||
$utf8_evidence = true;
|
$utf8_evidence = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// add utf-8 encoding prolog if we have reason to believe this is utf-8 content
|
// add utf-8 encoding prolog if we have reason to believe this is utf-8 content
|
||||||
|
// DOMDocument('1.0', 'UTF-8') does not work!
|
||||||
$utf8_tag = $utf8_evidence ? '<?xml encoding="utf-8" ?>' : '';
|
$utf8_tag = $utf8_evidence ? '<?xml encoding="utf-8" ?>' : '';
|
||||||
|
|
||||||
$dom = new DOMDocument();
|
$dom = new DOMDocument();
|
||||||
|
Loading…
Reference in New Issue
Block a user