當前位置:編程學習大全網 - 網站源碼 - 網頁源代碼轉漢字

網頁源代碼轉漢字

BytesToBstr(utf-8編碼,“utf-8”)

遠程訪問網頁編碼格式轉換

函數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

結束功能

  • 上一篇:gcc可以用來編譯linux下windows可用的exe文件嗎?
  • 下一篇:c#聊天室發送文件和接受文件
  • copyright 2024編程學習大全網