Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: Convert HTM HTML Hex Unicode String Character textarea InternetExplorer.Application innerhtml
Long term I'm looking for a more universal method to convert unicode strings to winbatch hex codes and write them back to unicode htm files. The list shows a hex code of ı for the unicode character ı (i) and I figure the Winbatch hex is just low/high byte swapped (3101 vs. 0131 and 5E01 vs 015E). Is there possibly a UDF for both (convert ı to 0131)
Can enybody help?
strTextHtmlEntities = "¿Hablas bien el español? <<< Yönetim Danısmanlık A.Ş. >>>" objIE = ObjectOpen ("InternetExplorer.Application") objIE.visible = @FALSE objIE.navigate("about:blank") objTA = objIE.Document.createElement("textarea") objTA.innerHTML = StrReplace (StrReplace (strTextHtmlEntities, "<", "<"), ">", ">") strTextUnicode = objTA.value objIE.quit objTA = 0 objIE = 0 ClipPut (strTextUnicode) AskLine ("Decode Html entities", "Result", strTextUnicode, 1)
Article ID: W18127
Filename: Convert HTML Hex to Unicode String.txt
File Created: 2011:12:07:09:06:10
Last Updated: 2011:12:07:09:06:10