技术成就梦想

知道用户需求,做到专注!c#,donet,Frameworks,UML,面向对象,设计模式!
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2013年1月17日

摘要: 现在很多地方都要求程序源码用UTF8格式,因此需要将原来的源码转换一下,手动转显然太累了。发现c#还真是简单啊,几行代码就搞定了。 试了一下GBK转换成UTF8编码格式,没什么问题了。static void Main(string[] args) { string dir, filters; Console.WriteLine("Please input the directory:"); dir = Console.ReadLine(); Console.WriteLine("Please input the filter(such as *.c,*.cpp): 阅读全文

posted @ 2013-01-17 12:57 我不是高手 阅读(1494) 评论(0) 推荐(0) 编辑