The AE (198) character
-
I have a text file with the AE character in it when I try to read it with File.ReadAllText it does not read the character (it just removes it). I have tried File.ReadAllBytes(PATH/FILENAME.txt).replace(chr(198),"AE") and a couple other Replace ideas and so far nothing has worked. The only method I have found that works is: Bytes = File.ReadAllBytes("PATH/FILENAME.txt") For i = 0 To Bytes.Length - 1 TextFile += Chr(Bytes(i)) Next This is horribly inefficient but does work... Any better ideas?
-
I have a text file with the AE character in it when I try to read it with File.ReadAllText it does not read the character (it just removes it). I have tried File.ReadAllBytes(PATH/FILENAME.txt).replace(chr(198),"AE") and a couple other Replace ideas and so far nothing has worked. The only method I have found that works is: Bytes = File.ReadAllBytes("PATH/FILENAME.txt") For i = 0 To Bytes.Length - 1 TextFile += Chr(Bytes(i)) Next This is horribly inefficient but does work... Any better ideas?