é???????¤???è????????¥????é???????¤???è???????é?????,????????????!???é?????é?????è?¥é??
é???????¤???è????
????¥????é???????¤???è???????é?????,???????????!???é???
???é?????é?????è?¥é??中文乱码如上,WinHttp.WinHttpRequest获取中文乱码-------
winhttp:=CreateOLEObject('WinHttp.WinHttpRequest.5.1');
winhttp.setTimeouts(60000,60000,60000,60000);
winhttp.Open('GET',url,False);
winhttp.setrequestheader('Accept','image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*');
winhttp.setrequestheader('Accept-Language','zh-cn');
winhttp.setrequestheader('Connection','Keep-Alive');
winhttp.setrequestheader('User-Agent','Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 2.0.50727)');
WinHttp.Send();
s:=winhttp.Responsetext;
----------------------
获取中文乱码
获取的英文就没有问题。请高手指点