ecucurella
Programmer
Hi,
I use the streamreader to read one file line by line:
...
fileIn = New System.IO.StreamReader("c:\text.txt", system.Text.Encoding.ASCII )
Do
linia = fileIn.ReadLine
...
Loop Until linia Is Nothing
...
If in my file there is a character like á, é, í, etc
it can`t read it, it don't appear.
How can I solve this problem?
I have tested with:
-system.Text.Encoding.ASCII
-System.Text.Encoding.BigEndianUnicode
-System.Text.Encoding.UTF8
I use the streamreader to read one file line by line:
...
fileIn = New System.IO.StreamReader("c:\text.txt", system.Text.Encoding.ASCII )
Do
linia = fileIn.ReadLine
...
Loop Until linia Is Nothing
...
If in my file there is a character like á, é, í, etc
it can`t read it, it don't appear.
How can I solve this problem?
I have tested with:
-system.Text.Encoding.ASCII
-System.Text.Encoding.BigEndianUnicode
-System.Text.Encoding.UTF8