StreamReader sr = new StreamReader(@"E:\人名.txt", Encoding.GetEncoding("GB2312")); string readText = sr.ReadToEnd();
C#获取txt记事本内容,防止乱码情况
原文:http://www.cnblogs.com/blog4xy/p/4059363.html