其他分享
首页 > 其他分享> > CsvHelper 解析数据乱码处理

CsvHelper 解析数据乱码处理

作者:互联网

                    using (FileStream fileStream = new FileStream(path, FileMode.Open, FileAccess.Read))
                    using (StreamReader reader = new StreamReader(fileStream, Encoding.GetEncoding("GB2312")))
                    using (var matchCsv = new CsvReader(reader))
                    {
do something
            }

转自:https://www.cnblogs.com/coky/p/6897282.html

标签:fileStream,FileStream,reader,乱码,CsvHelper,new,using,解析,StreamReader
来源: https://www.cnblogs.com/Early-Bird/p/15398286.html