For special characters like áéí, I can call htmlentities()
:
$mycaption = htmlentities($mycaption, ENT_QUOTES);
To get the corresponding html entities:
áéí
How can I reverse this back to áéí ?
See Question&Answers more detail:os