| 245 | } |
| 246 | |
| 247 | bool UTF8ToUTF32(const ccstd::string &utf8, std::u32string &outUtf32) { //NOLINT |
| 248 | return utfConvert(utf8, outUtf32, ConvertUTF8toUTF32); |
| 249 | } |
| 250 | |
| 251 | bool UTF16ToUTF8(const std::u16string &utf16, ccstd::string &outUtf8) { //NOLINT |
| 252 | return utfConvert(utf16, outUtf8, ConvertUTF16toUTF8); |