Home >Backend Development >PHP Tutorial >Configuration in thinkphp: Where does 'DEFAULT_CHARSET' take effect?
I configured 'DEFAULT_CHARSET' ="utf-8" globally,
But it seems that the specific method still needs to be set again. Why?
I configured 'DEFAULT_CHARSET' ="utf-8" globally,
But it seems that the specific method still needs to be set again. Why?
Set in php.ini
or
Entry file index.php and the like
ini_set('default_charset','utf-8')