高手请进~~~~~~~~~~~~~~~
想读取一个网页,然后再拆分
写了如下(ASP.NET,VB语言)
u = "http://www.jwa.or.jp/area_info/" & areacode & ".html"
Dim wc As New System.Net.WebClient()
Dim st As System.IO.Stream = wc.OpenRead(u & "")
Dim sr As New System.IO.StreamReader(st)
Dim sHtml As String = sr.ReadToEnd
可是读出来的SHTML字符串,里面的汉字都是乱码,这样就取不到我想要的数据了。请问有什么办法吗?
谢谢