I have some weird problems with encoding my Wordpress website and I can't add comments with accent words. when i try to do it, i received error by WP.
What i need is just a function that read the comment before it has inserted and transforms all the accented characters with normal characters with no accents. And where i have to use the function? which WP core files?
I tried to use functions like htmlentities or mb_convert_encoding but i don't know where i have to use them and i have some trouble because half site is in UTF-8 and the other part is in ISO-8859-1… so i need a simple function that replace all the accent characters as i wrote above, with no encoding stuff.