[#BloombergLP-bdlde-Utf8Util-appendUtf8CodePoint-01]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlde.adoc[bdlde]::xref:BloombergLP/bdlde/Utf8Util.adoc[Utf8Util]::appendUtf8CodePoint
:relfileprefix: ../../../
:mrdocs:

Append the UTF&hyphen;8 encoding of `codePoint` to `output`&period;

== Synopses

Declared in `&lt;bdlde&lowbar;utf8util&period;h&gt;`

Append the UTF&hyphen;8 encoding of `codePoint` to `output`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdlde/Utf8Util/appendUtf8CodePoint-0b.adoc[appendUtf8CodePoint](
    xref:bsl/string.adoc[bsl::string]* output,
    unsigned int codePoint);
----

[.small]#xref:BloombergLP/bdlde/Utf8Util/appendUtf8CodePoint-0b.adoc[_» more&period;&period;&period;_]#

Append the UTF&hyphen;8 encoding of `codePoint` to `output`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdlde/Utf8Util/appendUtf8CodePoint-06.adoc[appendUtf8CodePoint](
    std::pmr::string* output,
    unsigned int codePoint);
----

[.small]#xref:BloombergLP/bdlde/Utf8Util/appendUtf8CodePoint-06.adoc[_» more&period;&period;&period;_]#

Append the UTF&hyphen;8 encoding of `codePoint` to `output`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
xref:BloombergLP/bdlde/Utf8Util/appendUtf8CodePoint-04.adoc[appendUtf8CodePoint](
    std::string* output,
    unsigned int codePoint);
----

[.small]#xref:BloombergLP/bdlde/Utf8Util/appendUtf8CodePoint-04.adoc[_» more&period;&period;&period;_]#

== Return Value

0 on success, and a non&hyphen;zero value otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *output*
| string that receives the encoded code point
| *codePoint*
| Unicode code point to encode and append
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
