BSON_UTF8_GET_CHAR(3)

NAME
bson_utf8_get_char()

SYNOPSIS
bson_unichar_t
bson_utf8_get_char (const char *utf8);

PARAMETERS

.B 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.