How to compare UTF-8 Strings in PHP?
by barkkathulla[ Edit ] 2013-09-07 12:14:32
1.First need to convert both strings to ASCIi using iconv()
2.The //TRANSLIT option to get rid of accented characters
The format is given by,
$myword = iconv('utf-8', 'ascii//TRANSLIT', $myword);
Then do the comparison