摘要: 本人工作环境为繁体,今天从园子里找了一些SourceCode,结果中文注释在VS里全变成了乱码,源文件又比较多,就写了一个小工具,顺便学习一下编码的转换。功能:把给定目录里面的cs文件全部由gb2312转换成unicoe,并备份源文件。考虑可能不是很周到,两个知识点:编码转换和目录遍历usingSystem;usingSystem.Collections.Generic;usingSystem.Text;usingSystem.IO;namespaceConvertEndcode{/**////<summary>///Author:KymoWang///Date:2008/04/2 阅读全文
posted @ 2008-04-22 23:43 KymoWang 阅读(981) 评论(8) 推荐(0) 编辑