You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Opening Excel file with regional / date settings dd/mm/yyyy failed (English (Austria))
Changing date format to dd.mm.yyyy (German (Austria) is successfull
Issue Description
I'm trying to create a XSSFWorkbook object for an Excel .xlsx file like this using (fs = File.OpenRead(filePath)) { workbook = new XSSFWorkbook(fs);
in the line new XSSFWorkbook(fs) (File exists and filestream is open) the code crashes with the error
System.ArgumentException: '1 ist keine unterstützte Codepage.
Parametername: codepage'
When i change the systems date settings to German (Austria) dd.mm.yyyy style the object can be created.
How can i set up the initialisation, that this works with any language / date setting?
The text was updated successfully, but these errors were encountered:
NPOI Version
NPOI.2.3.0
File Type
Upload the Excel File
Should not be file related
SE_Properties_Template.xlsx
Reproduce Steps
Opening Excel file with regional / date settings dd/mm/yyyy failed (English (Austria))
Changing date format to dd.mm.yyyy (German (Austria) is successfull
Issue Description
I'm trying to create a XSSFWorkbook object for an Excel .xlsx file like this
using (fs = File.OpenRead(filePath)) { workbook = new XSSFWorkbook(fs);
in the line new XSSFWorkbook(fs) (File exists and filestream is open) the code crashes with the error
System.ArgumentException: '1 ist keine unterstützte Codepage.
Parametername: codepage'
When i change the systems date settings to German (Austria) dd.mm.yyyy style the object can be created.
How can i set up the initialisation, that this works with any language / date setting?
The text was updated successfully, but these errors were encountered: