UTF8Ansistd::stringUtf8ToAnsi(constchar*szUtf8){constintWLength=MultiByteToWideChar(CP_UTF8,0,szUtf8,-1,nullptr,NULL);constautopszW=newWCHAR[WLength+1]{0};MultiByteToWideChar(CP_UTF8,0,szUtf8,-1,pszW,WLength);constintALength=WideCharToMultiByte(CP_ACP,0,pszW,-1,nullptr,0,nullptr,nullptr);constautops