Merhabalar Arkadaşlar Sitemde Türkçe karakter Sorunu Mevcut Newphrase ile çözmeye çalıştım yalnız çözemedim yardım ederseniz sevinirim arkadaşlar.

function Duzenle($newphrase) {
$newphrase = str_replace("Ü","Ü",$newphrase);
$newphrase = str_replace("Åž","Ş",$newphrase);
$newphrase = str_replace("Äž","Ğ",$newphrase);
$newphrase = str_replace("Ç","Ç",$newphrase);
$newphrase = str_replace("İ","İ",$newphrase);
$newphrase = str_replace("Ö","Ö",$newphrase);
$newphrase = str_replace("ü","ü",$newphrase);
$newphrase = str_replace("ş","ş",$newphrase);
$newphrase = str_replace("ç","ç",$newphrase);
$newphrase = str_replace("ı","ı",$newphrase);
$newphrase = str_replace("ö","ö",$newphrase);
$newphrase = str_replace("ğ","ğ",$newphrase);
$newphrase = str_replace("Ş","Ş",$newphrase);
$newphrase = str_replace("û","ü",$newphrase);
$newphrase = str_replace("Ã","ü",$newphrase); 
$newphrase = str_replace("Ä","ı",$newphrase); 
return $newphrase;
}

Uygulama yapmaya çalıştığım php sayfası, Rengini kırmızı yaptığım yer'e

<?php 
if( file_exists("install.php")) {
	die("Please delete the file <strong>install.php</strong> from your root directory after installation. <br />
If you haven't installed the site yet, please proceed to the <a href=\"install.php\">installation process</a>.");
}

require('config.php');
require_once('include/functions.php');

$_page_title = _SITENAME;
$_page_desc = "Index page for "._SITENAME;

include_once('header.php');
?>

	<div id="content-wrap">
<div id="searchbar">
<div class="breadcrumbs"></div>
	<div class="searchform">
	<form method="POST" action="<?=_URL?>/search.php">
	 <input type="hidden" name="cmd" value="search" />
	   <input class="inputtext" type="text" name="words" value="<?=$words?>" size="30" maxlength="50"/> 
		<input type="hidden" name="mode" value="normal">
		<input class="inputbutton" type="submit" value="Search" /> 
	</form>
	</div>
</div>
 <div id="content">
    <div class="right">
		<div id="topdowns">
			<h2>En Cok Izleneler</h2>
				<ul>
				<? echo li_items('hits','',''); ?>
				</ul>
		</div>
		<div class="show_ads">
		<? echo show_ads();?>
		</div>
		<br />
		<? 
			if( _NEWS ){ 
				include('include/syndicate_news.php');
				//$var[i]{ [title], [link], [description], [guid], [pubDate]
		?>

		
	<div id="subcats">
			<h2>ALBUM INDIR</h2>
				<ul>
				<?
		
					$sql = "SELECT * FROM `ura_items` WHERE CategoryID != 2 AND CategoryID != 1 AND CategoryID != 0 ORDER BY `Add_Date` DESC LIMIT 10";
					$result = @mysql_query($sql);
					if( !$result ) {
						echo "MySql Error: ".mysql_error();
					}
					$i = 0;// for alternative row color
					while( $row = mysql_fetch_assoc($result) ){

						echo "<li><a href=\"".seo_links('detail', $row['ProductID'], $row['ProductName'], 1, _SEO)."\">".fewchars($row['ProductName'], 49)."</a></li>";

						$i++;
						}
				?>
				</ul>
		</div>
		<div class="show_ads">
		<? echo show_ads();?>
		</div>
		<br />
		

<div id="topdowns">
<h2>Rss</h2>
<ul>   
<?php include("test_rss.php"); ?>
</ul> </div>
	<?	
	}// end if( _NEWS )
	?>
	</div>

	<div class="left">
		
		<div id="last5">
			<h2>SON EKLENEN YENI ALBUMLER VE FULL MP3LER</h2>
			<ul>
			
			
			
			
				<?
				
				
	


					$sql = "SELECT * FROM `ura_items` WHERE CategoryID != 2 AND CategoryID != 1 AND CategoryID != 0 ORDER BY `Add_Date` DESC LIMIT 42";
					$result = @mysql_query($sql);
					if( !$result ) {
						echo "MySql Error: ".mysql_error();
					}
					$i = 0;// for alternative row color
					while( $row = mysql_fetch_assoc($result) ){


					[COLOR="Red"]	echo "<li><a href=\"".seo_links('detail', $row['ProductID'], $row['ProductName'], 1, _SEO)."\"> ".fewchars($row['ProductName'], 65)."</a></li>";[/COLOR]
                                                                                                                    
						$i++;
						}
				?>
			</ul>
		</div>
	</div>
 </div> 
 </div>
<?
include_once('footer.php'); 
?>

İyi Günler Kolay gelsin arkadaşlar