Unicode UTF-8 Ansi 互转及MultiByteToWideChar和WideCharToMultiByte用法等编码相关
Unicode,到UTF-8。 qp::StringWGlobal::AnsiToUnicode(constchar*buf){intlen=::MultiByteToWideChar(CP_ACP,0,buf,-1,NULL,0);if(len==0)returnL"";std::vectorunicode(len);::MultiByteToWideChar(CP_ACP,0,buf,-1,&