>Hi,
>
>At this moment I'm trying to read some text from a file and place this text in a textbox.
>
>Dim sr As StreamReader = File.OpenText("c:\myfile.txt")
>TextBox1.Text = sr.ReadToEnd()
>sr.Close()
>
>The streamreader reads my text but ignores special characters likes "é", "ë". Which reader will "read" these characters?
>
>tia,
>Sander Bouwmeester
StreamReader sr = new StreamReader(@"c:\myFile.txt",Encoding.GetEncoding(1252));
textBox1.Text = sr.ReadToEnd();
sr.Close();
Dim sr As StreamReader = new StreamReader("c:\myFile.txt",Encoding.GetEncoding(1252))
TextBox1.Text = sr.ReadToEnd()
sr.Close()
Cetin