| 69 | } |
| 70 | |
| 71 | void decodeUtf8(const std::string& input, std::wstring* storage) |
| 72 | { |
| 73 | FC_ASSERT(storage != nullptr); |
| 74 | |
| 75 | utf8::utf8to32(input.begin(), input.end(), std::back_inserter(*storage)); |
| 76 | } |
| 77 | |
| 78 | void encodeUtf8(const std::wstring& input, std::string* storage) |
| 79 | { |
no test coverage detected