diff --git a/system/libs/pot/OTS_ServerInfo.php b/system/libs/pot/OTS_ServerInfo.php index 8835ecf7..591443e9 100644 --- a/system/libs/pot/OTS_ServerInfo.php +++ b/system/libs/pot/OTS_ServerInfo.php @@ -123,7 +123,7 @@ class OTS_ServerInfo { // loads respond XML $info = new OTS_InfoRespond(); - if(!$info->loadXML( utf8_encode($status->getBuffer()))) + if(!$info->loadXML( $status->getBuffer())) return false; return $info; diff --git a/templates/tibiacom/headline.php b/templates/tibiacom/headline.php index 53096ba1..36e9ff4d 100644 --- a/templates/tibiacom/headline.php +++ b/templates/tibiacom/headline.php @@ -28,7 +28,7 @@ if(!@file_exists($page_file)) // set text $font = getenv('GDFONTPATH') . DIRECTORY_SEPARATOR . 'martel.ttf'; - imagettftext($image, 18, 0, 4, 20, imagecolorallocate($image, 240, 209, 164), $font, utf8_decode($_GET['t'])); + imagettftext($image, 18, 0, 4, 20, imagecolorallocate($image, 240, 209, 164), $font, $_GET['t']); // header mime type header('Content-type: image/gif');