In this post
https://www.b4x.com/android/forum/threads/to-read-txt-file-with-more-fields.102809/#post-644839
Erel says:
"Never use TextReader. Use File.ReadList or File.ReadString."
I use the TextReader because the enconding. See the code:
- Why don't use TextReader?
- How I can change my code (or I don't need in this case)?
Thanks in advance.
https://www.b4x.com/android/forum/threads/to-read-txt-file-with-more-fields.102809/#post-644839
Erel says:
"Never use TextReader. Use File.ReadList or File.ReadString."
I use the TextReader because the enconding. See the code:
B4X:
Dim tr As TextReader
tr.Initialize2(Job.GetInputStream,"ISO-8859-1")
parser.Parse2(tr, "Parser")
- How I can change my code (or I don't need in this case)?
Thanks in advance.