C#获取txt记事本内容,防止乱码情况
2020-12-13 14:12
阅读:333
标签:style blog color sp div log bs ad new C#获取txt记事本内容,防止乱码情况 标签:style blog color sp div log bs ad new 原文地址:http://www.cnblogs.com/blog4xy/p/4059363.html
StreamReader sr = new StreamReader(@"E:\人名.txt", Encoding.GetEncoding("GB2312"));
string readText = sr.ReadToEnd();
上一篇:C#通过反射调用泛型方法
下一篇:Java基础---Java 类
文章来自:搜素材网的编程语言模块,转载请注明文章出处。
文章标题:C#获取txt记事本内容,防止乱码情况
文章链接:http://soscw.com/index.php/essay/33813.html
文章标题:C#获取txt记事本内容,防止乱码情况
文章链接:http://soscw.com/index.php/essay/33813.html
评论
亲,登录后才可以留言!