As html_entity_decode() seems not be the right one - you know how to decode these entities?
ö --> ö
ä --> ä
ü --> ü
This are only examples - I've no complete list, therefore a general function would be nice - not a char by char replacement.
html_entity_decode() results only in something like ö instead of ö.