Skip to content

raylib.CodepointToUTF8

JoeStrout edited this page Apr 29, 2026 · 2 revisions

CodepointToUTF8

Parameters

Parameter Default Value Note
codepoint

Return value

Condition Return Value
(always) number

Notes

Example

// Convert a codepoint (e.g. 'A' = 65) back to a UTF-8 string
s = raylib.CodepointToUTF8(65)
print s  // "A"

s2 = raylib.CodepointToUTF8(9829)  // ♥
print s2

Clone this wiki locally