I'm trying to convert this ü
to ü
in php.
I want to get this kind of characters to correct format. this is Germany characters format. somehow the database recode is like this. but it's not a correct format.
here is my code,
//Germany
$text = "Italienische Gemüsesuppe";
setlocale(LC_ALL, 'de_DE');
$trans_sentence = iconv('UTF-8', 'ASCII//TRANSLIT', $text);
//correct format should be like this : Italienische Gemüsesuppe
But this is not working as expected.
How do i do it ?