Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / March 2008

Tip: Looking for answers? Try searching our database.

Streaming .Htm file to a page

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Leon - 04 Mar 2008 19:01 GMT
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
Mark Fitzpatrick - 04 Mar 2008 19:35 GMT
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

> Hi Everybody.
>
[quoted text clipped - 10 lines]
>
> Thanks in advance
Leon - 04 Mar 2008 21:54 GMT
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?

> 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
[quoted text clipped - 19 lines]
> >
> > Thanks in advance
bruce barker - 04 Mar 2008 19:36 GMT
you should xlate it to "

-- bruce (sqlwork.com)

> Hi Everybody.
>
[quoted text clipped - 10 lines]
>
> Thanks in advance
Leon - 04 Mar 2008 21:56 GMT
Thanks Bruce.

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

> you should xlate it to "
>
[quoted text clipped - 14 lines]
> >
> > Thanks in advance

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.