httpserver 返回 汉字认不到?有什么高级办法不?
TEXT TO XmlStr TEXTMERGE NOSHOW PRETEXT 3Username=%D5%C5%C8%FD&Password=123&Submit=%B5%C7%C2%BC
ENDTEXT
strWebserviceURL ="http://192.168.11.14"
objHTTP.Open("POST", strWebserviceURL,.F.) &&'默认是POST方式
objHTTP.setRequestHeader("Content-Type", "application/text")
objHTTP.send(XmlStr) &&'XmlInput是Ws的参数
r= STRCONV( objHTTP.responseTEXT,11)
<html lang="zh-cn"><body><form name="Login" action="" method="get">
????<input class="input" type="text" name="Username" value="??" size="20" />
??<input class="input" type="password" name="Password" value="123" size="20" />
<input class="btn" type="submit" name="Submit" value="???" style="width:80px" />
</form></body></html>
但是使用_cliptext=objHTTP.responseTEXT 则汉字正常
<html lang="zh-cn"><body><form name="Login" action="" method="get">
用户名<input class="input" type="text" name="Username" value="张三" size="20" />
密码<input class="input" type="password" name="Password" value="123" size="20" />
<input class="btn" type="submit" name="Submit" value="登录" style="width:80px" />
</form></body></html>