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
Text codepoints management functions (unicode characters)
raylib function
Native alternative
Notes
LoadCodepoints
toRunes
UnloadCodepoints
None
Not needed
GetCodepoint
runeAt, size
Returns 0xFFFD on error
GetCodepointCount
runeLen
GetCodepointPrevious
None
toRunes and iterate in reverse
GetCodepointNext
None
Use runes iterator
CodepointToUTF8
toUTF8
LoadUTF8
toUTF8
UnloadUTF8
None
Not needed
See also procs like graphemeLen, runeSubStr, and other functions provided by the standard
library's std/unicode module that can be used for working with Unicode strings in Nim.