摘要:
如下URL:http://php.weather.sina.com.cn/search.php?city=北京,由于中间有中文字符,传到webrequest中时,得不到正确结果。为了使WebRequest操作时,URL支持中文,需要对这些中文特殊处理一下: Encoding ed=Encoding.GetEncoding("gb2312");WebRequest req = WebRequest.... 阅读全文
posted @ 2008-04-07 09:14
Jack Niu
阅读(1232)
评论(0)
推荐(0)
浙公网安备 33010602011771号