For this special characters Ã¡Ã©Ã I do this:
$mycaption = htmlentities($mycaption, ENT_QUOTES);
Than I receive this:
How can I reverse it back to "Ã¡Ã©Ã"? Thanks
html_entity_decode() is the opposite of htmlentities() in that it converts all HTML entities to their applicable characters from string.
(from the PHP manual)
The content is written by members of the stackoverflow.com community.
It is licensed under cc-wiki