1,普通HTML页面,并声明此HTML文件是采用gb2312字符集。
保存为文件名:utf1.html,编码采用ANSI。
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<meta name="author" content="CN-Bruce www.cnbruce.com">
<title>utf-8</title>
</head>
<body>
调试utf-8代码
</body>
</html>
<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
<meta name="author" content="CN-Bruce www.cnbruce.com">
<title>utf-8</title>
</head>
<body>
调试utf-8代码
</body>
</html>

收藏到QQ书签