BloombergLP::bdlde::Utf8Util::appendUtf8CodePoint

Append the UTF-8 encoding of codePoint to output.

Synopsis

Declared in <bdlde_utf8util.h>

static
int
appendUtf8CodePoint(
    std::pmr::string* output,
    unsigned int codePoint);

Description

Same as the related overload above for appendUtf8CodePoint.

Return Value

0 on success, and a non-zero value otherwise

Parameters

NameDescription
outputstring that receives the encoded code point
codePointUnicode code point to encode and append