Fix for Silverlight Excel Reader - Sheet Names Wrong

Sep 8, 2010 at 3:05 PM

The sheet names are incorrect in the Silverlight Excel Reader, change the following line in the SheetName method found in ExcelDataReader.Silverlight.Core.BinaryFormat.XlsBiffBoundSheet class

return Encoding.Unicode.GetString(m_bytes, m_readoffset + start, len);

 

to

return Encoding.UTF*.GetString(m_bytes, m_readoffset + start, len);