Is there a function that coverts special characters to their english equivalents. For Eg. Convert é to e. Etc...
The function you are after is iconv() - from the user notes, this seems to be what you want to do: characters transliteration
You should use this one and it will works:
setlocale(LC_CTYPE, 'nl_BE.utf8');
$string = iconv('UTF-8', 'ASCII//TRANSLIT', $string);
I've tested it a lot of accentuated characters
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With