C#读取csv文件乱码

解决

读入文件时设置编码格式为utf-8:

FileStream fs = new FileStream(fileName, FileMode.Open, FileAccess.Read);
StreamReader sr = new StreamReader(fs, new System.Text.UTF8Encoding());

你可能感兴趣的:(Winform,c#,csv,utf8)