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?
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?