By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,168 Members | 2,484 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,168 IT Pros & Developers. It's quick & easy.

How to read an html file into a String

P: n/a
How can I do this without loosing special characters (, , , , etc) so I
can replace some parts of it later.

I was using this code but it eliminates those characters.

Dim str As StreamReader

str = File.OpenText(txtFile.Text)

Dim _maildata As String = str.ReadToEnd()

str.Close()

TIA
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
T,

If you have problems with special characters, than it is mostly the settings
of your computer which is not equal to the code system where the file is
written in.

some samples of those
http://www.geocities.com/Athens/Acad.../fontset.htm#b

I hope this helps,

Cor
Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.