I have read from a text file that contains characters like this "•", but when I go to read it all comes back to a bad character. How do I read the content? I tried with different encoding.
Dim In As InputStream = File.OpenInput(File.DirAssets, "1.txt")
Dim tr As TextReader
tr.Initialize2(In, "Windows-1252")
Dim s As String = tr.ReadAll
tr.Close
Log(s)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.