c#将字符串内容保存到纯utf8(无BOM)文件
System.Text.UTF8Encoding utf8 = new System.Text.UTF8Encoding(false);
File.WriteAllText(FilePath, strContent, utf8);
File.WriteAllText(FilePath, strContent, utf8);
posted on 2010-09-27 21:50 freeliver54 阅读(5522) 评论(0) 编辑 收藏 举报