Hi All
Using WinDev Mobile 25
I have a test app which calls a web URL e.g. www.mydomain.com
I use HTTPRequest() for that.
I then use HTTPGetResult() to get the contents of the HTTP request.
When I display this content (e.g using INFO() ) I get all strange characters.
if I save this returned content using fsavetext() and then read that saved file back using floadtext() then the plain readable text is viewable.
How can I convert the unreadable content from HTTPGetResult() directly into readable text?
I have tried UnicodeToAnsi() but that does not work.
[UPDATE] - Found the solution. I need to use UTF8ToString() function and it works now.
Edited 2 time(s). Last edit at 12/09/2020 07:26PM by JP.