Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do copy ansi text from a file to an html page without any changes

Status
Not open for further replies.

rambleon

Programmer
Joined
Mar 6, 2004
Messages
130
Location
IL
Hi,
Is there any way to read data from a file and then output an exact copy of that data byte for byte to an html page.

Response.Write(objStreamReader.ReadLine())

Can someone please send me a replacement for the above so that I can copy the input to output without any encoding interference.
The file is ANSI - contains characters with values above 127.
If I hand code the page everything comes out fine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top