Encoding of VB6 files?

BlackStone

Well-known member
Joined
Jun 14, 2004
Messages
75
I tried to open a file with a StreamReader that was saved using VB6. However, I find that it is converting some of the characters to question marks. I have used all the Encoding.xxxxs. How can I open the file and get the old info?
 
Hmm, I tried that, but the file is obviously not saved in unicode because I dont even get anything remotely close. I have no idea whats wrong. I rewrote the old code in VB6 (using Open "" For.. As..) and got all the right info.
 
The file looks fine in notepad. Encoding.Default doesnt work either. Im stumped on this one. :(
 
Is this happening with all files or just one in particular? If just a single file would it be possible to attach the file here and see if anybody else has the same problem?
 
Back
Top