Where does the default mb_internal_encoding () come from?

If I wrote a new php file and included echo "current mb_internal_encoding: ".mb_internal_encoding() , where would the output value come from? How is this “solved” / how is it regulated?

Background: I wrote a web application where, as I thought, I did everything to install the whole site on utf-8 and found that I still need to set this value manually ...

+6
source share
1 answer

It depends on the setting of mbstring.internal_encoding in php.ini .

+6
source

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


All Articles