'utf8','target'=>'gbk') ;" and save it."/> 'utf8','target'=>'gbk') ;" and save it.">
Home >CMS Tutorial >PHPCMS >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');
Change it to:
//$charset_config = array('self'=>'gbk','target'=>'utf8');//GBK配置 $charset_config = array('self'=>'utf8','target'=>'gbk');
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!