There seems to be problems with encoding - this should fix it.

This commit is contained in:
Michael Vogel 2014-08-07 21:55:17 +02:00
parent f1aa549e63
commit 2e75e37c93

View 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">';