using more UTF-8, optimized the initial froxlor.sql statements, refs #1117
Signed-off-by: Arnold Bechtoldt <mail@arnoldbechtoldt.com>
This commit is contained in:
@@ -27,9 +27,21 @@
|
||||
|
||||
function html_entity_decode_complete($string)
|
||||
{
|
||||
while($string != html_entity_decode($string))
|
||||
global $theme;
|
||||
|
||||
if($theme == 'Classic')
|
||||
{
|
||||
$string = html_entity_decode($string);
|
||||
while($string != html_entity_decode($string))
|
||||
{
|
||||
$string = html_entity_decode($string);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
while($string != html_entity_decode($string, ENT_COMPAT | ENT_HTML5, 'UTF-8'))
|
||||
{
|
||||
$string = html_entity_decode($string, ENT_COMPAT | ENT_HTML5, 'UTF-8');
|
||||
}
|
||||
}
|
||||
|
||||
return $string;
|
||||
|
||||
Reference in New Issue
Block a user