Streaming .Htm file to a page

  • Thread starter Thread starter Leon
  • Start date Start date
L

Leon

Hi Everybody.

I am streaming Html File.

Dim sReader = New StreamReader(pcFileName)
Dim strInnerHtml As String = sReader.ReadToEnd.ToString
divTemplate.InnerHtml = strInnerHtml

For some reason on the page instead of (') - apostrophe it shows symbol
like this:�

Does anyone know how to fix it?

Thanks in advance
 
Check and make sure it's a real apostrophe. Some programs create those curly
apostrophies, which come from a font and aren't ASCII values. In this case
they can sometimes appear as a block, which denotes an unknown binary
character.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - Expression
 
Mark, thanks for your reply.

Actualy sometimes it's a real apostrophe, sometimes it's a spanish stress
mark.
Some of our web pages in spanish. What should I do in this case?
 
Thanks Bruce.

The problem is that some of our webpages (htm files) in spanish.
Do you know how to fix this problem?
 
Back
Top