28,391
社区成员
发帖
与我相关
我的任务
分享
'宝玉:
'问题可能出在 BinaryToString 函数
'换成这个:
Function BinaryToString(body)
if lenb(body)=0 then
BytesToBstr=""
exit function
end if
dim mystream
set mystream=server.createobject("adodb.stream")
mystream.type=2
mystream.mode=3
mystream.open
mystream.writetext body
mystream.position=0
mystream.charset="UTF-8"
mystream.position=2
bstr=mystream.readtext()
mystream.close
set mystream=nothing
BinaryToString=bstr
End Function