]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add comment that DOMDocument('1.0', 'UTF-8') does not work
authorhannes <h@nnesmannerhe.im>
Thu, 28 Jan 2016 15:32:11 +0000 (15:32 +0000)
committerhannes <h@nnesmannerhe.im>
Thu, 28 Jan 2016 15:32:11 +0000 (15:32 +0000)
plugins/Oembed/lib/oembedhelper.php

index 6f514983f365a57d52c846058ab539e4644d463b..cb1c56e75586661400fc8ce632809d7c2eb073a7 100644 (file)
@@ -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 ? '<?xml encoding="utf-8" ?>' : '';          
             
             $dom = new DOMDocument();