BloombergLP::bdlde::Utf8Util::isValid

Return true if the specified string contains valid UTF-8, and false otherwise. string need not be null-terminated and can contain embedded null bytes.

Synopsis

Declared in <bdlde_utf8util.h>

static
bool
isValid(std::string_view const& string);