Provided by: libbson-doc_1.3.1-1_all
NAME
bson_utf8_get_char() - Converts the current character in a UTF-8 sequence to a bson_unichar_t, the 32-bit representation of the multi-byte character.
SYNOPSIS
bson_unichar_t bson_utf8_get_char (const char *utf8);
PARAMETERS
utf8 A UTF‐8 encoded string.
DESCRIPTION
Converts the current character in a UTF‐8 sequence to a bson_unichar_t, the 32‐bit representation of the multi‐byte character.
RETURNS
A bson_unichar_t.
COLOPHON
This page is part of libbson. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.