I have a text saved in database like this: $text = 'GrüÃen'; It contains some encoded German characters. How can I get the right format: 'Grußen'
I have tried some kind of php function like this:
$output = mb_convert_encoding($text, 'ISO-8859-1', 'UTF-8');
$output = html_entity_decode($text, ENT_COMPAT | ENT_HTML5, 'UTF-8');