This question is related to the question Parse html file using MSHTML in VBScript.
The question tells me how to use an HTMLFILE
object.
Dim oHF : Set oHF = CreateObject("HTMLFILE")
oHF.write args
WScript.Echo oHF.title
But when I do the above line and the args
(HTML content) has Unicode characters, it becomes junk. DOMManipulation বাংলা ব্লগ
became DOMManipulation বাংলা বà§à¦²à¦—
.
How do I solve this?