Frank,
In addition to the other comments.
Are you certain that you have an a + umlaut (ä) in your VB.NET program?
Remember that characters in .NET are Unicode (not ASCII or ANSI) which means
I would consider using ChrW to get an a + umlaut (ä) in my program,
something like:
Const umlautA As Char = ChrW(&HE4)
Then using the correct encoding (more then likely Encoding.Default) or using
Encoding.GetEncoding(), the a + umlaut (ä) will be written to the file
correctly.
Dim output As New StreamWriter("umlautA.txt", False,
System.Text.Encoding.Default)
output.Write("This is a ")
output.Write(umlautA)
output.Write(" an a + umlaut (ä)")
output.WriteLine()
output.Close()
Also as you pointed ASCII is 7 bits, you really want a specific ANSI (8 bit)
encoding in your file. Encoding.Default is the ANSI encoding for the
regional settings you have in windows.
For information on ASCII, ANSI, Unicode and how Encoding works see:
http://www.yoda.arachsys.com/csharp/unicode.html
Hope this helps
Jay