You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JoeStrout edited this page Apr 29, 2026
·
2 revisions
Get total number of characters(codepoints) in a UTF-8 encoded text, until '\0' is found NOTE: If an invalid UTF-8 sequence is encountered a '?'(0x3f) codepoint is counted instead
Parameters
Parameter
Default Value
Note
text
Return value
Condition
Return Value
(always)
number
Notes
Example
// Count the number of codepoints in a UTF-8 stringcount=raylib.GetCodepointCount("Hello!")
printcount// 6