P
Pedro Jose
Hi,
I am wondering why File.OpenText can't read accented
characters.
I am using it to read a text file with words
like "horário" and "não" but the when it finish reading my
variables have "horrio" and "no", the accented characters
disapear.
Why is that? And how can I fix it?
Is I use this combination it works
//Encoding fileEncoding = Encoding.Default;
//FileStream fsIn = new FileStream(infile, FileMode.Open,
FileAccess.Read, FileShare.Read);
//StreamReader fileReader = new StreamReader(fsIn,
fileEncoding, true);
But the File.OpenText is faster.
What is the fast method to read a big file in CF?
Thanks
Pedro Jose
I am wondering why File.OpenText can't read accented
characters.
I am using it to read a text file with words
like "horário" and "não" but the when it finish reading my
variables have "horrio" and "no", the accented characters
disapear.
Why is that? And how can I fix it?
Is I use this combination it works
//Encoding fileEncoding = Encoding.Default;
//FileStream fsIn = new FileStream(infile, FileMode.Open,
FileAccess.Read, FileShare.Read);
//StreamReader fileReader = new StreamReader(fsIn,
fileEncoding, true);
But the File.OpenText is faster.
What is the fast method to read a big file in CF?
Thanks
Pedro Jose