bson_utf8_from_unichar man page

bson_utf8_from_unichar ā€” bson_utf8_from_unichar()

Synopsis

void
bson_utf8_from_unichar (bson_unichar_t unichar, char utf8[6], uint32_t *len);

Parameters

Description

Converts a single unicode character to a multi-byte UTF-8 sequence. The result is stored in utf8 and the number of bytes used in len.

Author

MongoDB, Inc

Info

Sep 15, 2017 1.8.0 Libbson