[#BloombergLP-bdlde-Utf8Util-numCharacters-00]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlde.adoc[bdlde]::xref:BloombergLP/bdlde/Utf8Util.adoc[Utf8Util]::numCharacters
:relfileprefix: ../../../
:mrdocs:

Return the number of Unicode code points in the specified `string`&period; `string` is necessarily null&hyphen;terminated, so it cannot contain embedded null bytes&period; The behavior is undefined unless `string` contains valid UTF&hyphen;8&period; Note that `string` may contain less than `bsl&colon;&colon;strlen(string)` Unicode code points&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bdlde/Utf8Util/IntPtr.adoc[Utf8Util::IntPtr]
numCharacters(char const* string);
----

== Description

DEPRECATED&colon; Use `numCodePointsRaw` instead&period;


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