Create a file utf-to-win.php then insert like include("utf-to-win.php"); where the script needs.
<?php
function utf_to_win($str)
{
$str=strtr($str,array("а"=>"ŕ","б"=>"á","в"=>"â","Đł"=>"ă","Đ´"=>"ä","е"=>"ĺ","Ń‘"=>"¸","ж"=>"ć","Đ·"=>"ç","и"=>"č","Đą"=>"é","Đş"=>"ę","Đ»"=>"ë","ĐĽ"=>"ě","Đ˝"=>"í","Đľ"=>"î","Đż"=>"ď","Ń€"=>"đ","Ń�"=>"ń","Ń‚"=>"ň","Ńƒ"=>"ó","Ń„"=>"ô","Ń…"=>"ő","ц"=>"ö","ч"=>"÷","Ńˆ"=>"ř","щ"=>"ů","ŃŠ"=>"ú","Ń‹"=>"ű","ŃŚ"=>"ü","ŃŤ"=>"ý","ŃŽ"=>"ţ","ŃŹ"=>"˙","Đ�"=>"Ŕ","Đ‘"=>"Á","Đ’"=>"Â","Đ“"=>"Ă","Đ”"=>"Ä","Đ•"=>"Ĺ","Đ�"=>"¨","Đ–"=>"Ć","Đ—"=>"Ç","Đ˜"=>"Č","Đ™"=>"É","Đš"=>"Ę","Đ›"=>"Ë","Đś"=>"Ě","Đť"=>"Í","Đž"=>"Î","Đź"=>"Ď","Đ "=>"Đ","С"=>"Ń","Т"=>"Ň","ĐŁ"=>"Ó","Ф"=>"Ô","ĐĄ"=>"Ő","Ц"=>"Ö","Ч"=>"×","Ш"=>"Ř","Đ©"=>"Ů","ĐŞ"=>"Ú","Đ«"=>"Ű","Ь"=>"Ü","Đ"=>"Ý","Đ®"=>"Ţ","ĐŻ"=>"ß"));
return $str;
}
?>
After that replace your header with this:
Error_Reporting ( E_ALL & ~ E_NOTICE );
Error_Reporting ( ERROR | WARNING );
echo "<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
bla bla bla.....
If utf-to-win dont help you then try only with the header i give it to you.Good luck 😮