If you need to work with Cyrillic text in PHP, you may notice that functions that are related to case sensitivity are not working as expected. What do i mean - strtolower, strtouper, ucwords, and so on.

So if you want to get the expected result you need  to use mb_convert functions.
Here is the example:

$string = "Хелоу";

$string = mb_convert_case($string, MB_CASE_LOWER, "UTF-8");

echo $string; //output is: хелоу
?>
Tags
Comments
Write the first comment
Leave a trace
Name *
Email *
Website
Anti SPAM * Code (1 + 1) =
Leave me a comment *
 
All comments are subject to editorial review
Post being viewed right now
Item date: 01.08.2009
Views: 1025
Item date: 07.03.2009
Views: 786
Item date: 08.03.2009
Views: 1141
Item date: 11.04.2009
Views: 1692
Item date: 18.06.2009
Views: 768
Item date: 07.06.2010
Views: 492
Item date: 19.07.2010
Views: 940
Item date: 17.06.2009
Views: 1060
Item date: 08.03.2009
Views: 1248