Prova a guardare se fa al caso tuo http://it.php.net/manual/it/function.utf8-encode.php