nimraylib_now icon indicating copy to clipboard operation
nimraylib_now copied to clipboard

Can codepoints map to unicode.Rune

Open planetis-m opened this issue 4 years ago • 1 comments

It would be nice if we can replace codepoints arrays with seq[Rune]. Need to investigate if such conversion is possible.

planetis-m avatar Feb 02 '22 11:02 planetis-m

So yes they can:

GetCodepointCount -> unicode.runeLen GetCodepoint -> runeAt but it doesn't return 0x3f on error CodepointToUTF8 -> $, toUtf8 TextCodepointsToUTF8 -> $

planetis-m avatar Feb 18 '22 11:02 planetis-m