This is my first post here.
I am having problem in vb.net
I am trying to get a webpage source using this code.
Dim request As System.Net.HttpWebRequest = System.Net.HttpWebRequest.Create(Textbox1.Text) Dim response As System.Net.HttpWebResponse = request.GetResponse() Dim sr As System.IO.StreamReader = New System.IO.StreamReader(response.GetResponseStream()) Dim sourcecode As String = sr.ReadToEnd() Textbox2.Text = sourcecode
Now whenever there is a unicode character in sourcecode it is not showed properly.
But when i manually write that unicode character then it works fine.
Hoping for quick response.
Edited by vb2learn: n/a