J
JM
Hi,
I have been trying to read a file, using "StreamReader" to pass the info to
an string that is:
....dim stream as new FileStream(file,...)
dim sr as new StreamReader(stream)
dim data as string = sr.ReadToEnd...
My problem is that in the file (is a text file) there is some data like:
"... the company name is ¨CalifEx¨ and is located in ¨Austin¨..."
when I use the streamreader to read the above text its returns:
"... the company name is CalifEx and is located in Austin..."
So streamreader miss the small doublequotes surrounding CalifEx and Austin.
I think that some kind of encoding must be used before I read the file.
How?, Any help??
Thanks,
jamie
I have been trying to read a file, using "StreamReader" to pass the info to
an string that is:
....dim stream as new FileStream(file,...)
dim sr as new StreamReader(stream)
dim data as string = sr.ReadToEnd...
My problem is that in the file (is a text file) there is some data like:
"... the company name is ¨CalifEx¨ and is located in ¨Austin¨..."
when I use the streamreader to read the above text its returns:
"... the company name is CalifEx and is located in Austin..."
So streamreader miss the small doublequotes surrounding CalifEx and Austin.
I think that some kind of encoding must be used before I read the file.
How?, Any help??
Thanks,
jamie