Hi I have a trivial question for the experts.

I would lilke to read be able to read a text file that could contain french
characters with accents.
I'm opening the file with the File.openText(...) and
then loop through the file with the Readline function into a string variable.
But everytime a hit a char with an accent I loses it.

Example : père reads pre

Thanks in advance

Chérif

Re: Reading accents within a text file by Jon

Jon
Wed Nov 03 08:26:53 CST 2004

Cherif Diallo <CherifDiallo@discussions.microsoft.com> wrote:
> Hi I have a trivial question for the experts.

<snip>

Please see my response in the .general group.

--
Jon Skeet - <skeet@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too

Re: Reading accents within a text file by josue

josue
Sun Nov 07 13:45:47 CST 2004

Hi Chérif, I think your problem comes from reading the file with the
incorrect encoding. Try using other methods that let you pick the
encoding, like StreamReader.