Append the UTF‐8 encoding of codePoint to output.

Synopsis

Declared in <bdlde_utf8util.h>

static
int
appendUtf8Character(
    bsl::string* output,
    unsigned int codePoint);

Description

Append the UTF‐8 encoding of the specified Unicode codePoint to the specified output string. Return 0 on success, and a non‐zero value otherwise.

DEPRECATED: Use appendUtf8CodePoint instead.

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

output

string that receives the encoded code point

codePoint

Unicode code point to encode and append

Created with MrDocs