Convert Html code
Posted: Wed Sep 04, 2019 7:54 pm
Hello everyone
How can i convert Html code like "۱۳" to clear text?
I get this html code when run this code:
When you open above URL in your browser you see clear result in page but when run above code in PB we get result in Html code like:
How can i convert Html code like "۱۳" to clear text?
I get this html code when run this code:
Code: Select all
InitNetwork()
*Buffer = ReceiveHTTPMemory("http://zartools.com/zar/tools/time-date/date-f.php")
If *Buffer
Size = MemorySize(*Buffer)
Debug "Content: " + PeekS(*Buffer, Size, #PB_UTF8|#PB_ByteLength)
FreeMemory(*Buffer)
EndIf
Code: Select all
چهارشنبه ۱۳ شهريور ۱۳۹۸</a></div>")