Problem mit .htaccess und PHP

Hallo,
ich habe auf meiner HP einen Mod für SEO Friendly URLs eingebaut, allerdings gibt es jetzt URLs wie xptricks.de/vista-titelleisten-d … xp-r5.html
(Angezeigt wird in der Statusleiste xptricks.de/vista-titelleisten-design-f�r-xp-r5.html )
Wie kann ich dieses Zeichen (�) oder %EF%BF%BD mit ü ersetzen ? Ich habe es bereits mit PHP so versucht (es gibt eine seoname.php, die so aussieht: [code]
<?

  /*****************************************************************

  * seoname.php

  * -------------------

  * This file is part of AMAZECS

  *

  * @package : amazecs

  * @purpose : URL re-write functions

  * @copyright : (C) 2004,2006 Len Johnson

  * @mail : GB WEBS, 4 Leominster Walk,

  * West Midlands, B45 9SW, UK

  * @support : http://www.web-bureau.com/forum/

  * @version : $Id: seoname.php,v 1.0.1 $

  * @license : http://opensource.org/licenses/gpl-license.php

  *

  *****************************************************************/

  /*****************************************************************

  * GNU Public License

  * This program is free software; you can redistribute it and/or modify it

  * under the terms of the GNU General Public License as published by

  * the Free Software Foundation; either version 2 of the License,

  * or (at your option) any later version.

  *

  * This program is distributed in the hope that it will be useful,

  * but WITHOUT ANY WARRANTY; without even the implied warranty

  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

  *****************************************************************/

   

  /**

  * CHANGELOG

  *

  * 26.06.06 added seonewsopts function

  */

   

  function seoname($seoit) {

  // $seoit = strip_tags($seoit);

  $seoit = str_replace('=',' ',$seoit);

  $seoit = str_replace('/',' ',$seoit);

  $seoit = str_replace('\\',' ',$seoit);

  $seoit = str_replace('@',' ',$seoit);

  $seoit = str_replace('~',' ',$seoit);

  $seoit = str_replace('!',' ',$seoit);

  $seoit = str_replace('£',' ',$seoit);

  $seoit = str_replace('$',' ',$seoit);

  $seoit = str_replace('%',' ',$seoit);

  $seoit = str_replace('^',' ',$seoit);

  $seoit = str_replace('*',' ',$seoit);

  $seoit = str_replace('_',' ',$seoit);

  $seoit = str_replace('{',' ',$seoit);

  $seoit = str_replace('}',' ',$seoit);

  $seoit = str_replace('[',' ',$seoit);

  $seoit = str_replace(']',' ',$seoit);

  $seoit = str_replace('-',' ',$seoit);

  $seoit = str_replace(' & ',' ',$seoit);

  $seoit = str_replace('"',' ',$seoit);

  $seoit = str_replace('.',' ',$seoit);

  $seoit = str_replace('\'',' ',$seoit);

  $seoit = str_replace(',',' ',$seoit);

  $seoit = str_replace(' ','-',$seoit);

  $seoit = str_replace(' ','-',$seoit);

  $seoit = str_replace(' ','-',$seoit);

  $seoit = str_replace(':','',$seoit);

  $seoit = str_replace('#','',$seoit);

  $seoit = str_replace('(','',$seoit);

  $seoit = str_replace(')','',$seoit);

  $seoit = str_replace('---','-',$seoit);

  $seoit = str_replace('--','-',$seoit);
  
  $seoit = str_replace('?','ä',$seoit);

  $seoit = strtolower($seoit);
  return $seoit;

  } 
 ?> [/code]

Dort habe ich es mit $seoit = rawurldecode($seoit); versucht, aber das brachte keinen erfolg :frowning:
Wisst ihr da weiter ? :p
MfG,
DHMH

du musst normalerweise gar nix mit der URL machen, da die von PHP schon fertig decodiert ausgeliefert wird