I have below HTML
file which contains content like below:
<HTML>
<BODY>
...
........ company's Chief Financial Officer. Now the.......
...
</BODY>
</HTML>
I am reading the content of this file using:
StringBuilder stringBuilder = new StringBuilder();
using (StreamReader sr = new StreamReader(filePath))
{
String line = sr.ReadToEnd();
stringBuilder.Append(line);
}
strFileContent = stringBuilder.ToString();
However it is returning string as:
........ company�s Chief Financial Officer.���Now the.......
HTML
files are in my local system.