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,
相關文章
相關標籤/搜索