How to convert unicode string to lowercase in PHP

1 Answer

0 votes
$str = "PHP JAVA C PYTHON ΑΛΏΠΗΞ";

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

echo $str;
 
    


/*
run:
 
php java c python αλώπηξ
 
*/

 



answered Sep 28, 2023 by avibootz

Related questions

1 answer 136 views
1 answer 129 views
1 answer 118 views
1 answer 143 views
143 views asked Aug 22, 2020 by avibootz
...