公司里修改的页面拿到家里调度时,中文变乱码。 编辑器 frontpage2003, 服务器apache2 ,
解决方法:
1. 将apache2 的 httpd.conf 里的 AddDefaultCharset 段改成 AddDefaultCharset GB2312
默认为 AddDefaultCharset #ISO-8859-1
2. 首先确认每个页面有
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">项