1

i have a problem with importing data from an excel file.

It works well, but in this file are words with the german letters "ä", "ö", "ü" and "ß".

When i import these words, i get these strange characters: �

Any plan how to convert them into the right characters?!

Thanks, prexx

Prexx
  • 2,959
  • 5
  • 31
  • 48

1 Answers1

1

Open the Workbook like this:

WorkbookSettings wbSettings = new WorkbookSettings();
wbSettings.setEncoding("CP1252");
w = Workbook.getWorkbook(inputWorkbook, wbSettings);
Daniel Fekete
  • 4,988
  • 3
  • 23
  • 23