摘要: 一般C++标准库中的string不支持宽字节,也就是unicode字符集。 所以要想将TCHAR或wchar转换成string,则需调用系统函数WideCharToMultiByte int len = WideCharToMultiByte(CP_ACP, 0, *s, -1, NULL, 0, 阅读全文
posted @ 2016-03-11 16:34 Travis_007 阅读(1145) 评论(0) 推荐(0)