X1.5 X2.0均有问题。
如上图
Item/FileDown.asp文件的ReplaceBadChar函数没有设返回值,导致它永远是Isnull
正确的应该是
Function ReplaceBadChar(str)
str=replace(str,Chr(13)&Chr(10),"")
str=replace(str,chr(13),"")
str=replace(str,chr(10),"")
str=replace(str,chr(9),"")
ReplaceBadChar=replace(str,vbcrlf,"")
End Function