I use the following code to open an Excel
file using ExcelDataReader
.
excelReader = ExcelReaderFactory.CreateReader(stream, new ExcelReaderConfiguration()
{
FallbackEncoding = Encoding.UTF8,
LeaveOpen = false,
AnalyzeInitialCsvRows = 0,
});
The issue is that Im getting the following error,
Encoding 1252 data could not be found. Make sure you have correct international codeset assembly installed and enabled.
Based on other solutions, I have also included i18N.dll
and i18n.west.dll
files to my project but still, the issue is persisting.