Ciao non preoccuparti un carattere ù in UTF-8 è di due bytes esadecimale C3 B9.
Forse l'errore è l'impostazione del sistema php, cioè non trova la ù la funzione str_replace, prova conoppure impostaCodice PHP:
$test = str_replace( chr(195) . chr(185), 'u', 'pi' . urldecode( '%C3%B9' ) );
var_dump($test); //Output piu
temporaneamente tedescoCodice PHP:
$test2 = setlocale( LC_ALL, 'de_DE.UTF8' );
//codice
var_dump($test2);
![]()