For a web programmer, it is wise to use hta to handle some desktop program functions, so that we can also use the familiar js for development without mastering new languages.
In normal web page editor, the web pages created are encoded by gb2312, and to achieve encoding compatibility, it is best to convert them into utf8. We can use hta to make a batch conversion encoding tool, but fso does not support saving uft8-encoded files. In this way, you need to use the adodb.stream control.
[Ctrl+A Select all Note: If you need to introduce external Js, you need to refresh to execute]
From: script8.com