Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with Greek characters while streaming data from url

Status
Not open for further replies.

georgizas

Programmer
Sep 13, 2001
15
GR
I try to get a file from a url and save it to my pc but I have problem with Greek characters. My code is:
Public Function OpenURL(ByVal strURL As String) As String
Dim client As New System.Net.WebClient()
Dim data As System.IO.Stream = client.OpenRead(strURL)
Dim reader As New System.IO.StreamReader(data)
Dim s As String = reader.ReadToEnd()
data.Close()
reader.Close()
Return s
End Function
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top