给textbox的text赋中文值,页面提交后,该textbox的默认text值如何变成乱码了

--解决方案--------------------------------------------------------
web.config页面是否有
 <globalization requestEncoding="utf-8" responseEncoding="utf-8"/> 
------解决方案--------------------------------------------------------
utf-8 改成GB2312 
------解决方案--------------------------------------------------------
在文件头 <titile >里添加如下内容: 
<meta http-equiv= "Content-Type " content= "text/html;charset=gb2312 " / >(或试试utf-8)

注明:文章来源:http://www.myexception.cn/asp-dotnet/108531.html

原文地址:https://www.cnblogs.com/sunxi/p/3023429.html