]> git.mxchange.org Git - friendica.git/commitdiff
There seems to be problems with encoding - this should fix it.
authorMichael Vogel <icarus@dabo.de>
Thu, 7 Aug 2014 19:55:17 +0000 (21:55 +0200)
committerMichael Vogel <icarus@dabo.de>
Thu, 7 Aug 2014 19:55:17 +0000 (21:55 +0200)
include/bbcode.php

index 571809c3b5d10d94fdd57e6ee4d7adaee255dbe1..df2c7101bdf6f9a8a67051c7fbf9a116b47f7401 100644 (file)
@@ -1076,7 +1076,7 @@ function bbcode($Text,$preserve_nl = false, $tryoembed = true, $simplehtml = fal
                $doc = new DOMDocument();
                $doc->preserveWhiteSpace = false;
 
-               //$Text = mb_convert_encoding($Text, 'HTML-ENTITIES', "UTF-8");
+               $Text = mb_convert_encoding($Text, 'HTML-ENTITIES', "UTF-8");
 
                $doctype = '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">';
                $encoding = '<?xml encoding="UTF-8">';