Hey...
Hope someone knows the answer for this
I'm using this code to grab content from an URL.
The problem is, when displaying the String s all the chars æ, ø, and å is not displayed right.. They come out as ? or x or some other cryptic characters...
How can I display the characters correctly?
This is the code:
Dim wc As New WebClient
Dim strArray As Array
Dim s As String
Dim b() As Byte
b = wc.DownloadData(url)
s = Encoding.ASCII.GetString(b)
Would appreciate any help I can get
Hope someone knows the answer for this
I'm using this code to grab content from an URL.
The problem is, when displaying the String s all the chars æ, ø, and å is not displayed right.. They come out as ? or x or some other cryptic characters...
How can I display the characters correctly?
This is the code:
Dim wc As New WebClient
Dim strArray As Array
Dim s As String
Dim b() As Byte
b = wc.DownloadData(url)
s = Encoding.ASCII.GetString(b)
Would appreciate any help I can get