
展开全部
这是中文编码你没设置好。首先在Dreamweaver CS4里面,选择》》编辑》》首先参数》》 左侧选择 新建文档》》》默认编码》》简体中文gb2312.ok新建文档。把你原来的代码粘贴进去,最好重新写一下。测试
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>解决中文乱码问题</title>
</head>
<body>
<%
if request.QueryString("j")="j" then
response.write (request.Form("user"))
end if
%>
<form name="form1" method="post" action="?j=j">
<label>
<input type="text" name="user" id="user">
</label>
<label>
<input type="submit" name="button" id="button" value="提交">
</label>
</form>
</body>
</html>
用我直接给你写的也ok
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns="">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>解决中文乱码问题</title>
</head>
<body>
<%
if request.QueryString("j")="j" then
response.write (request.Form("user"))
end if
%>
<form name="form1" method="post" action="?j=j">
<label>
<input type="text" name="user" id="user">
</label>
<label>
<input type="submit" name="button" id="button" value="提交">
</label>
</form>
</body>
</html>
用我直接给你写的也ok
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |