How to read an html file into a String

  • Thread starter Thread starter TCORDON
  • Start date Start date
T

TCORDON

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top