Append the UTF‐8 encoding of codePoint to output.
Synopses
Declared in <bdlde_utf8util.h>
Append the UTF‐8 encoding of codePoint to output.
static
int
appendUtf8CodePoint(
bsl::string* output,
unsigned int codePoint);
Append the UTF‐8 encoding of codePoint to output.
static
int
appendUtf8CodePoint(
std::pmr::string* output,
unsigned int codePoint);
Append the UTF‐8 encoding of codePoint to output.
static
int
appendUtf8CodePoint(
std::string* output,
unsigned int codePoint);
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