php case-insensitive comparison of russian characters
问题 How can I compare russian characters case insensitively. I have tried: if(strcasecmp($content->title, 'О нас') == 0){ $about=$content->title; } and also if(strtolower($content->title) == strtolower('О Нас')){ $about=$content->title; } both of them didn`t work. if I make both strings in the same 'case' it returns true, otherwise false. $content->title returning 'О Нас' from Mysql databse and second string is also 'О Нас' but if I make second str 'О нас' and use one of the above comparison it