Date:  04/23/2002 01:05:08 PM Msg ID:  000588
From:  FoxWeb Support Thread:  000586
Subject:  Re: is it my program error or other reason?
Do you get garbage characters at the end of the output consistently, or is this an intermittent problem?  Also, does the string varry, or is it always "G=gz"?

FoxWeb Support Team
support@foxweb.com

Sent by Wade Cai on 04/23/2002 12:51:37 AM:
I want to ask you a question, is it my program error or other reason?
My test program is bellow:
 
*****Program Start*********
  M.TempFileName = "C:\AA.DBF"
* Read the DBF file
  M.FileContent = FILETOSTR(M.TempFileName)  
  DELETE FILE M.TempFileName 
* Send the DBF file content to the browser
  Response.Write("Program Show Start" + chr(13) + chr(10) )
  Response.Write(M.FileContent + chr(13) + chr(10) )
  Response.Write("Program Show end" + chr(13) + chr(10) )
  Response.End 
*****Program End**********
 
 
But when I start to run the program under foxweb,
it will show below Message:
Program Show Start
0?QzCUST_NOCEN_NAMECCUST_NAMEC
Program Show end
G=gz
 
When see the result, I'm very surprise, How does it appear "G=gz" string , I didn't know where it comes from. So, my question is that.(My foxweb server is Win2K, Simplify Chinese version,Foxweb version 2.11)
 
Thanks for your help.