在ASP中从a读出写入b文件出现很多的?号,何解?
netZL 2003-04-16 11:06:56 <%
SET fs=Server.CreateObject("Scripting.FileSystemObject")
strFileInfo10=replace(strFileInfo9,".txt",".bak")
fs.CopyFile strFileInfo9,strFileInfo10
Set a=fs.OpenTextFile(strFileInfo10,1)
Set b = fs.CreateTextFile(strFileInfo9, True)
Do While Not a.AtEndOfLine
tmpRow = a.ReadLine
strRow=replace(tmpRow,"</menu>","<h>h</h></menu>")
b.WriteLine(strRow)
Loop
b.Close
a.Close
set b=nothing
set a=nothing
set fs=nothing
%>
a的第一行为“<menu>”
1、写入b后为“?menu>”
2、a中“夹",件",档",统"”在b中被换为?
去掉“夹,件,档,统”后就只有第一个问题
请大侠帮忙!!