If I were to write a new php file, and include echo "current mb_internal_encoding: ".mb_internal_encoding()
, where would the output value come from? How is it "decided" / how is it governed?
Background: I wrote a web app where I thought I had done everything to set the whole site to utf-8 and found that I still needed to set this value manually...
It depends on the setting of mbstring.internal_encoding
in php.ini.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With