Marcos,
You have the incorrect encoding set on the StreamReader.
When you create the StreamReader use the constructor that accepts a
System.Text.Encoding object, then pass an Encoding object that is the
correct format (code page) for your file.
You can use one of the predefined encodings such as
System.Text.Encoding.UTF8, or you can use Encoding.GetEncoding to get a
specific code page.
Hope this helps
Jay
"Marcos Ribeiro" <ki**@barretos.com.br> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
Hi
I'm trying to read a textfile using System.IO.StreamReader, but all
accentuated characters are skiped.
Why's that? There is any workaround?
Thanks
Marcos