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
1 changed files with 1 additions and 1 deletions

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