摘要: #include <iostream> #include <string> #include <Windows.h> using namespace std; void unicodeToUTF8(const wstring &src, string& result) { int n = WideCharToMultiByte( CP_UTF8, 0, src.c_str(), -1, 0, 0, 0, 0 ); result.resize(n); ::WideCharT... 阅读全文
posted @ 2012-08-10 12:26 大约 阅读(626) 评论(1) 推荐(0) 编辑