| 161 | } |
| 162 | |
| 163 | std::u16string UTF8ToUTF16(std::string_view input) { |
| 164 | return boost::locale::conv::utf_to_utf<char16_t>(input.data(), input.data() + input.size()); |
| 165 | } |
| 166 | |
| 167 | #ifdef _WIN32 |
| 168 | static std::wstring CPToUTF16(u32 code_page, const std::string& input) { |
no test coverage detected