|
登录请求数据
HttpItem item = new HttpItem()
{
URL = "[img]file:///C:\Users\wyf-mt\AppData\Local\Temp\[5UQ[BL(6~BS2JV6W}N6[%S.png[/img]******" ,//URL 必需项
Method = "post",//URL 可选项 默认为Get
UserAgent = "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko",
ContentType = "application/x-www-form-urlencoded",//返回类型 可选项有默认值
PostDataType = PostDataType.String,//默认为字符串,同时支持Byte和文件方法
Postdata = string.Format("username={0}&pwd={1}&y_y_y_y={2}", name, pwd, code),//Post要发送的数据
Cookie = cookie,
};
返回数据为:
<script language="JavaScript">
alert("ÑéÖ¤Âë′íÎó£¬ÇëêäèëÕyè·μÄÑéÖ¤Â룡")
location.href="error.htm"
</script>
请问如何取得正确编码显示的文字?
谢谢了!~~
|
|