C#获取txt记事本内容,防止乱码情况
时间:2014-10-29 14:46:08
收藏:0
阅读:317
StreamReader sr = new StreamReader(@"E:\人名.txt", Encoding.GetEncoding("GB2312")); string readText = sr.ReadToEnd();
原文:http://www.cnblogs.com/blog4xy/p/4059363.html
评论(0)