源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

BytesToBstr获取的源码转换为中文的代码

  • 时间:2021-06-23 12:03 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:BytesToBstr获取的源码转换为中文的代码
'================================================== '函数名:BytesToBstr '作  用:将获取的源码转换为中文 '参  数:Body ------要转换的变量 '参  数:Cset ------要转换的类型 '================================================== Function BytesToBstr(Body,Cset)    Dim Objstream    Set Objstream = Server.CreateObject("adodb.stream")    objstream.Type = 1    objstream.Mode =3    objstream.Open    objstream.Write body    objstream.Position = 0    objstream.Type = 2    objstream.Charset = Cset    BytesToBstr = objstream.ReadText     objstream.Close    set objstream = nothing End Function
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部