StreamReader and Accent

  • Thread starter Thread starter Stan Sainte-Rose
  • Start date Start date
S

Stan Sainte-Rose

Hi,
I have a problem when I use StreamReader.ReadToEnd.
All the the accent characters are deleted..
I mean by accent characters : éééààà etc...

Any idea ?

Stan
 
Stan said:
Hi,
I have a problem when I use StreamReader.ReadToEnd.
All the the accent characters are deleted..
I mean by accent characters : éééààà etc...

You're using the wrong chracter encoding. Be sure to create a StreamReader
that uses exactly the same character encoding as the source you want to read
from.

Cheers,
 
Back
Top