SyntaxFix
Write A Post
Hire A Developer
Questions
The easiest way is to use iconv() PHP native function.
iconv()
echo iconv('UTF-8', 'ASCII//TRANSLIT//IGNORE', "Thîs îs à vêry wrong séntènce!"); // output: This is a very wrong sentence!