Where does the file come from?
To display special characters you need UTF-8 encoding.
If the file origin is Windows you can use TextReader with Windows-1252 encoding:
B4X:
Private txt As String
Private tr As TextReader
tr.Initialize2(File.OpenInput(File.DirAssets, "MyFile.txt"), "Windows-1252")
txt = tr.ReadAll
tr.Close
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.