Dear All,
We have Ansi file with german characters (Ä / Ø) ,
We are using Streamreader to read the contents of the file.
But Readline() not able to read the German characters.
We tried all possibilities of calling the streamreader, but nothing worked.
Dim sr As StreamReader = New StreamReader(Filename, System.Text.Encoding.Default, True)
Dim sr As StreamReader = New StreamReader(Filename, _System.Text.Encoding.ASCII, False, 512)
Dim sr As StreamReader = New StreamReader(Filename, True)
Dim wr As StreamWriter = New StreamWriter(FullPath, True, System.Text.Encoding.Default)
Dim sr As StreamReader = New StreamReader(Filename, System.Text.Encoding.UTF7)
Dim enc As System.Text.Encoding
enc = System.Text.Encoding.GetEncoding(1252)
Dim sr As StreamReader = New StreamReader(Filename, enc)
Can you please let me know how to read the German characters from the Ansi file.
Thanks
Rajana