| 20 | namespace snap::drawing { |
| 21 | |
| 22 | std::vector<Character> utf8ToUnicode(std::string_view utf8) { |
| 23 | std::vector<Character> out; |
| 24 | utf8ToUnicode(utf8, out); |
| 25 | return out; |
| 26 | } |
| 27 | |
| 28 | size_t utf8ToUnicode(std::string_view utf8, std::vector<Character>& output) { |
| 29 | const auto* utf8Start = utf8.data(); |