Mondy
Mondy

Reputation: 2275

Php coded text decoding

into a string, i have some coded text.

...
für
...

it is a german word "für".

How can I transform the whole Text to german text?

Thanks for help.

Upvotes: 3

Views: 81

Answers (1)

ptvty
ptvty

Reputation: 5664

That's an HTML specific encoding so:

echo html_entity_decode('für'); // returns für

http://php.net/manual/en/function.html-entity-decode.php

Upvotes: 1

Related Questions