90平方三房一厅设计图:百度搜索代码 搜索汉字时提交上去的是乱码

来源:百度文库 编辑:神马品牌网 时间:2024/04/27 15:12:52
代码是<form id="form2" action="http://www.baidu.com/baidu">
<table border="1" style="font-size :13px; width: 814px;">
<tr align ="left"><td style="width:800px; height: 10px" >
<img src="http://img.baidu.com/img/logo-80px.gif" alt="Baidu" align="bottom" border="0" style="width: 78px; height: 17px" /> <input type="text" name="word" style="width: 190px; height: 14px" /> <input type="submit" value="百度搜索" style="width: 58px; height: 20px" />

提交英文或数字查询是正确的.但如果填写的是汉字的话就提交到百度的查询框就成乱码了 比如在text 中输入 "我是" 提交到百度的查询信息就成了 "鎴戞槸"
我试了下在Dreamweaver中运行是正常的,但是一复制到vs2005中运行就不行了.怎么弄都是提交的乱码.各位大侠急救呀