我使用以下代码Excel
使用ExcelDataReader
.
excelReader = ExcelReaderFactory.CreateReader(stream, new ExcelReaderConfiguration()
{
FallbackEncoding = Encoding.UTF8,
LeaveOpen = false,
AnalyzeInitialCsvRows = 0,
});
问题是我收到以下错误,
找不到编码 1252 的数据。确保您安装并启用了正确的国际代码集程序集。
基于其他解决方案,我也将i18N.dll
文件包含i18n.west.dll
在我的项目中,但问题仍然存在。