1.在jsp环境下
(1)如果是普通的html文件
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
(2)如果是wap下的wml文件
<%@ page contentType="text/vnd.wap.wml;charset=gbk"%>
2.在.NET环境下,以vb为例
HttpResponse对象.ContentType = "text/vnd.wap.wml;charset=UTF-8"
(1)如果是普通的html文件
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
(2)如果是wap下的wml文件
<%@ page contentType="text/vnd.wap.wml;charset=gbk"%>
2.在.NET环境下,以vb为例
HttpResponse对象.ContentType = "text/vnd.wap.wml;charset=UTF-8"
浙公网安备 33010602011771号