针对php utf8 alert乱码的解决
2010-10-11 09:48:17 by 【6yang】,
184
visits,
收藏 |
返回
会员注册页面 网站用的是utf8编码 Js编码的要求
php:中指定了header("Content-Type:text/html; charset=utf-8");
TPL模板也指定了:<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
引用JS页指定了编码: <script charset="utf-8" language="javascript" type="text/javascript" src="/ui/member/js/reg_new.js"></script>
share