| 153 | } |
| 154 | |
| 155 | std::u16string UTF8StringToUTF16Internal(std::string_view source) { |
| 156 | std::u16string s; |
| 157 | ::utf8::utf8to16(source.begin(), source.end(), std::back_inserter(s)); |
| 158 | return s; |
| 159 | } |
| 160 | |
| 161 | } // namespace |
| 162 |
no test coverage detected