I have an app than parses a csv and diplays its content. My problem is it displays ‘-‘ as ‘?’ inside a diamond. What can I do so that it wouldn’t display as such?
EDIT: here’s my code for opening the file
InputStream input = openFileInput("pms.csv");
SchedController.reader = new CSVReader(new InputStreamReader(input, "US-ASCII"));
SchedController.sched = SchedController.reader.readAll();
input.close();
I have tried US-ASCII, UTF-8…
The suggested encodings on the previous answers did not solve my case. I tried the encoding “windows-1252” which I found out here and it worked: