Configuration in thinkphp: Where does 'DEFAULT_CHARSET' take effect?

WBOY
Release: 2016-08-04 09:21:06
Original
1032 people have browsed it

I configured 'DEFAULT_CHARSET' ="utf-8" globally,

But it seems that the specific method still needs to be set again. Why?

Reply content:

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')

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!