From fb10aad74d151adbafac46f9fda85f8cb4e0acf7 Mon Sep 17 00:00:00 2001 From: Andre Lorbach Date: Thu, 10 Feb 2011 18:35:35 +0100 Subject: [PATCH] testing changes for utf8 --- src/include/functions_common.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/include/functions_common.php b/src/include/functions_common.php index cbfd5fb..d1ec6fa 100644 --- a/src/include/functions_common.php +++ b/src/include/functions_common.php @@ -75,6 +75,7 @@ $content['SHOW_DONATEBUTTON'] = true; // Default = true! // PreInit overall user variables $content['EXTRA_PHPLOGCON_LOGO'] = $content['BASEPATH'] . "images/main/Header-Logo.png"; $content['EXTRA_METATAGS'] = ""; +//$content['EXTRA_METATAGS'] .= ''; $content['EXTRA_JAVASCRIPT'] = ""; $content['EXTRA_STYLESHEET'] = ""; $content['EXTRA_HTMLHEAD'] = ""; @@ -1082,7 +1083,8 @@ function GetStringWithHTMLCodes($myStr) { // Replace all special characters with valid html representations - return htmlentities($myStr); + return htmlentities($myStr, ENT_NOQUOTES, "UTF-8"); +//TODO CONFIGURABLE! } function InitTemplateParser()