| 484 | |
| 485 | #ifdef _WIN32 |
| 486 | std::wstring UTF8StringToWideString(const std::string_view str) |
| 487 | { |
| 488 | std::wstring ret; |
| 489 | if (!UTF8StringToWideString(ret, str)) |
| 490 | return {}; |
| 491 | |
| 492 | return ret; |
| 493 | } |
| 494 | |
| 495 | bool UTF8StringToWideString(std::wstring& dest, const std::string_view str) |
| 496 | { |
no test coverage detected