欢迎加入站点基地设计开发交流群:30720409
详细内容
C#指定MS950编码方式
发布日期:2013-09-09     点击:4871     字体:[ ]
//預設, 你問題裡已提到不行, 可略過  
StreamReader rd = new StreamReader(FilePath, System.Text.Encoding.Default);  
//UTF-8編碼  
StreamReader rd = new StreamReader(FilePath, System.Text.Encoding.UTF8);  
//中文編碼(Big5, MS950)  
StreamReader rd = new StreamReader(FilePath, System.Text.Encoding.GetEncoding(950));
用户评论
昵称 
内容  *
验证码   
   
相关文章 更多...  
Copyright © 2010 zdbase.com All Rights Reserved. 苏ICP备15039389号 可人软件设计