Ciao a tutti, ho un problema con la lettura di file Excell.
In effetti il codice funziona, ma legge male alcuni tipi di caratteri, come "°" o certi tipi di lettere accentate, restituendo un carattere a forma di quadrato.
codice:
Workbook x = Workbook.getWorkbook(new File(lista[i]));
Sheet sheet = x.getSheet(u);
for (int r = 0; r < sheet.getRows(); r++) {
for (int j = 0; j < sheet.getColumns(); j++) {
Cell cell = sheet.getCell(j, r);
CellType type = cell.getType();
array[r][j] = cell.getContents();
}}
Grazie.