VC CString 转 UTF-8

CString CSqllite3Dlg::UTF8Convert(CString &str, int sourceCodepage, int targetCodepage) { //CP_ACP=ANSI,CP_UTF8=utf-8 int len=str.GetLength(); int unicodeLen=MultiByteToWideChar(sourceCodepage,
相关文章
相关标签/搜索