日期:2014-05-17  浏览次数:21221 次

request.form()获取表单中文乱码
HTML Code
HTML code
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="1" bgcolor="#e1e8ef" class="classtable">
<form action="Admin_Form_Skin.asp?action=save" method="post" name="form2" id="form2">
<tr class="classrow">
<td width="85" align="right">姓名:</td>
<td>
<textarea name="sdf" cols="100" rows="6" id="sdf"></textarea>
 
</td>
</tr>
<tr class="classrow">
<td width="85" align="right">介绍:</td>
<td>
<input name="www" type="text" id="www" size="">
 
</td>
</tr>
<tr class="classrow">
<td align="right"></td>
<td><input type="submit" name="button" id="button" value="保 存" class="button"/></td>
</tr></form>
</table>



VBScript code

<%
Values=Request.Form()
response.Write(Values)

%>




输出结果

sdf=%C8%F6%B5%A9%B7%A8%C8%F8%B7%D2%B7%BD%CA%BD&www=324&button=%B1%A3+%B4%E6

------解决方案--------------------
你没有带参数。
VB.NET code
<%
Values=Request.Form("sdf")
response.Write(Values)
%>