| 21 | } |
| 22 | |
| 23 | const std::wstring utf8_to_utf16(const std::string &text) { |
| 24 | return std::wstring_convert<std::codecvt_utf8_utf16<wchar_t>, wchar_t>{}.from_bytes(text.c_str()); |
| 25 | } |
| 26 | |
| 27 | // Mostly from https://msdn.microsoft.com/en-us/library/windows/desktop/ff485843(v=vs.85).aspx |
| 28 | // Windows Vista minimum |
no outgoing calls
no test coverage detected