Instead of mb_strtolower ()?

GoDaddy does not provide the mbstring module for shared hosting. But I have to use mb_strtolower() .

I am working on utf-8 charset, what can I use instead of mb_strtolower($string,'UTF-8') ?

Edit: I am converting Polish characters.

+4
source share
2 answers

See FluxBB UTF-8 module: https://github.com/fluxbb/utf8

+1
source

Perhaps you could try using PCRE functions, for example:

 $string_lower = preg_replace('/^(.*)$/', '\L$1', $string); 
+1
source

Source: https://habr.com/ru/post/1342495/


All Articles