memononen/nanovg

Question Regarding UTF-16 emojis

orange451 opened this issue · 1 comments

I read that NanoVG font rendering expects UTF-8 formatted text. However, most emojis are UTF-16. Take for example, the poop emoji:
\uD83D\uDCA9
how can this be rendered within NanoVG? I tried loading in the font NotoColorEmoji, but when trying to draw the above character, nothing is drawn. UTF-8 characters render totally fine, however.