| 506 | } |
| 507 | |
| 508 | std::string WideStringToUTF8String(const std::wstring_view& str) |
| 509 | { |
| 510 | std::string ret; |
| 511 | if (!WideStringToUTF8String(ret, str)) |
| 512 | ret.clear(); |
| 513 | |
| 514 | return ret; |
| 515 | } |
| 516 | |
| 517 | bool WideStringToUTF8String(std::string& dest, const std::wstring_view& str) |
| 518 | { |
no test coverage detected