HttpWebRequest request2 = (HttpWebRequest)HttpWebRequest.Create(url);
request2.UserAgent = "A1 .NET Web Crawler";
WebResponse response2 = request2.GetResponse();
Stream stream2 = response2.GetResponseStream();
Encoding charsetEncoding = Encoding.GetEncoding(charSetStr);
StreamReader reader = new StreamReader(stream2, charsetEncoding);
//StreamReader reader = new StreamReader(stream2);
string htmlText = reader.ReadToEnd();
Looks ok (without trying it).
Can you make sure the page is indeed 8859-1?
Some pages are not tagged correctly.
Or maye you can post here what you see and what you expect
(even better, describe it (e with accent grave) and post it,
to make sure nothing got damaged on the way)
Some hex values might also help.
--
Mihai Nita [Microsoft MVP, Visual C++]
http://www.mihai-nita.net
------------------------------------------
Replace _year_ with _ to get the real email
That "smells" like utf-8.