遠程訪問網頁編碼格式轉換
函數BytesToBstr(body,charset)
模糊目標流
set objstream = CreateObject(" adodb . stream ")
objstream。Type = 1
objstream。模式= 3
objstream。打開
出錯時繼續下壹步
objstream。寫主體
objstream。位置= 0
objstream。類型= 2
objstream.charset = charset
BytesToBstr = objstream。閱讀文本
objstream。關閉
Set objstream = Nothing
結束功能