Quadrostanology
New member
Hi guys,
I'm pulling my hair to get this solved but it seems impossible...
I get textfiles from AS400, I open them with a streamreader.
Now, when I put a watcher on the contents I see "?" instead of "é".
Note, this is without defining some encoding... (default is UTF-8 I think)
Now, whatever I try, I never seem to get it straight. I tried numerous encodings but nothing helps...
I also tested writing the data with a streamwriter but it seems I have too many
variations in encoding both reading/writing.
New IO.StreamReader(datfile,system.text.encoding.<WHATEVER?!>).ReadToEnd.Split(Chr(13) & "^")
Please help! =)
I'm pulling my hair to get this solved but it seems impossible...
I get textfiles from AS400, I open them with a streamreader.
Now, when I put a watcher on the contents I see "?" instead of "é".
Note, this is without defining some encoding... (default is UTF-8 I think)
Now, whatever I try, I never seem to get it straight. I tried numerous encodings but nothing helps...
I also tested writing the data with a streamwriter but it seems I have too many
variations in encoding both reading/writing.
New IO.StreamReader(datfile,system.text.encoding.<WHATEVER?!>).ReadToEnd.Split(Chr(13) & "^")
Please help! =)