bson_utf8_get_char man page

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.

Info

2016‐09‐02 libbson