#pragma once #include #include namespace NYql { bool IsUtf8(const std::string_view& str); unsigned char WideCharSize(char head); std::optional RoundToNearestValidUtf8(const std::string_view& str, bool roundDown); std::optional NextValidUtf8(const std::string_view& str); std::optional NextLexicographicString(const std::string_view& str); }