I'm writing a plugin and I have a big problem with htmlentities.
I have a form and I need to check out all the special characters inserted by a user.
For example: I have a field called "title" and I want to insert something like this:
-- L'uomo in più "text between quotes" --
In this string are present the following special characters
I need to show this value in a preview window and then I need to insert in the DB.
If I use htmlentities() i have strange output like this: Ã¹
There is a filter to clean the special characters?