B4X:
Sub GetText (URL)
ErrorLabel (errHandler)
String=""
Response.New1
Request.New1(URL)
Response.Value = Request.GetResponse 'This line calls the server and gets the response.
String = Response.GetString 'Get the Response string.
Response.Close
Return String
ErrHandler:
Response.Close
Return String
End Sub
I'm using the webbrowser to get the response of a site.
When i'm reading the txt context i'm missing the special characters (i.e. ä,ë ö etc).
Does anyone know a workaround?
Thanks!