为者常成,行者常至。
使用Coder::Blocks开发时,设置了字符集编码为UTF-8,生成文件移植到Visual Studio 2005时,发现所有的中文字符都乱码了。选择Visual Studio 2005 -> Tool -> Option-> Text Editor->Auto-detect UTF-8 encoding without signature.
重新打开一下工程,乱码就没有了。
Powered by: C++博客 Copyright © 盛源博