[转]CSVHelper 中文乱码 解决方案

            using (FileStream fileStream = new FileStream(csvPath, FileMode.Open, FileAccess.Read))
            using (StreamReader reader = new StreamReader(fileStream, Encoding.GetEncoding("GB2312")))
            using (var csv = new CsvReader(reader))
            {
                
            }

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

你可能感兴趣的:(asp.net,cshelper)