当前位置:首页 > ASP教程 > 应用技巧

asp中utf8不会出现乱码的写法

复制代码 代码如下:

<%@ codepage=65001 %>
<% response.codepage=65001%>
<% response.charset="utf-8" %> 
 <!doctype html public "-//w3c//dtd xhtml 1.0 transitional//en" "http://www.w3.org/tr/xhtml1/dtd/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>untitled document</title>
</head>
<body>
 内容
</body>
</html>

【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:)!