Home > CMS Tutorial > PHPCMS > body text

What to do if the content collected by phpcms is garbled

藏色散人
Release: 2020-05-30 10:59:46
Original
2363 people have browsed it

What to do if the content collected by phpcms is garbled

What should I do if the content collected by phpcms is garbled?

Open the file/spider/admin/admin.inc.php that needs to be modified

Find the original code:

$charset_config = array('self'=>'gbk','target'=>'utf8');//GBK配置
//$charset_config = array('self'=>'utf8','target'=>'gbk');
Copy after login

Change it to:

//$charset_config = array('self'=>'gbk','target'=>'utf8');//GBK配置
$charset_config = array('self'=>'utf8','target'=>'gbk');
Copy after login

In fact, just put the "//" in front of the previous line of code.

The above is the detailed content of What to do if the content collected by phpcms is garbled. For more information, please follow other related articles on the PHP Chinese website!

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