| 342 | wchar_t advancedSimulcast[INFO_LEN] = { 0 }; |
| 343 | |
| 344 | std::string cs2utf8(CString str) |
| 345 | { |
| 346 | char szBuf[2 * MAX_PATH] = { 0 }; |
| 347 | WideCharToMultiByte(CP_UTF8, 0, str.GetBuffer(0), str.GetLength(), szBuf, 2 * MAX_PATH, NULL, NULL); |
| 348 | return szBuf; |
| 349 | } |
| 350 | |
| 351 | std::string cs2ANSI(CString str) |
| 352 | { |
no test coverage detected