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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

characters from html file not showing in aspx

Status
Not open for further replies.

bikh

Programmer
May 3, 2002
25
US
I have a vb.net application where I need to read an HTML file and display it inside an aspx file.
It works fine on everything except special characters like the "Registered" sign (the R in a circle) and other characters.
This is how I read the file and display it:

Dim Stream As StreamReader
Stream = File.OpenText(filename)
Literal1.Text = Stream.ReadToEnd

Does anyone know why the special characters are not displaying and how I get them to display?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top