读文件,发现如下错误,怎么搞?!帮忙!!大大们来看看!!
我读的是一个EXCEL文件
if (reader.PeekChar() == -1)
判断读没读完。。。
就这儿,挂了。。。
----------------------------------------------
The output char buffer is too small to contain the decoded characters, encoding 'Unicode (UTF-8)' fallback 'System.Text.DecoderReplacementFallback'.
Parameter name: chars
----------------------------------------------
一直好好的,今天突然出现这个错误。。。。