20150316
xhtml页面头尾分离的时候出现中文乱码解决办法
新建header.inc.php放头部,新建bottom.inc.php放底部。结果出现了中文乱码,很是恼火。
百度后发现是编码的问题,在header.inc.php页面进入菜单->edit->Set Encoding,设置为UTF-8,OK了。
20150316
xhtml页面头尾分离的时候出现中文乱码解决办法
新建header.inc.php放头部,新建bottom.inc.php放底部。结果出现了中文乱码,很是恼火。
百度后发现是编码的问题,在header.inc.php页面进入菜单->edit->Set Encoding,设置为UTF-8,OK了。