1. 文件存储格式为ANSI编码2. HTML页面中加入<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />3. php代码最上面加header("content-Type: text/html; charset=gb2312");4. 执行SQL语句前先执行mysql_query("set names 'gb2312'");5. 创建数据库时编码为gb2312_chinese_ci Read More
posted @ 2011-05-13 21:01 石曼迪 Views(214) Comments(0) Diggs(0) Edit
瓴域建设-环保事业中心