BSON_UTF8_VALIDATE(3) | libbson | BSON_UTF8_VALIDATE(3) |
bson_utf8_validate - bson_utf8_validate()
bool bson_utf8_validate (const char *utf8, size_t utf8_len, bool allow_null);
Validates that the content within utf8 is valid UTF-8 (by the RFC 3629 standard). If allow_null is true, then embedded NULL bytes are allowed (\0).
true if utf8 contains valid UTF-8.
MongoDB, Inc
2017-present, MongoDB, Inc
October 20, 2022 | 1.23.1 |