From: hannes Date: Thu, 28 Jan 2016 15:32:11 +0000 (+0000) Subject: add comment that DOMDocument('1.0', 'UTF-8') does not work X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=05439831e717cb20b3c76010354381ff50555f1d;p=quix0rs-gnu-social.git add comment that DOMDocument('1.0', 'UTF-8') does not work --- diff --git a/plugins/Oembed/lib/oembedhelper.php b/plugins/Oembed/lib/oembedhelper.php index 6f514983f3..cb1c56e755 100644 --- a/plugins/Oembed/lib/oembedhelper.php +++ b/plugins/Oembed/lib/oembedhelper.php @@ -113,7 +113,8 @@ class oEmbedHelper $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 ? '' : ''; $dom = new DOMDocument();