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
Right now, CodeBlock uses a naive approach to splitting strings into individual characters which doesn't take into consideration UTF-8 characters bigger than 8 bits (emojis, CJK characters, etc.)
You can see in the image you provided that the two last emojis are split into four invalid characters.
Sadly, we'll most likely not fix this for the old CodeBlock node.
We have a new Code node proposal (#688) which will not have these issues but it's still in the works.
Describe the bug
If I give a string with emoji in the vs-code,
(as text: # This is an emoji ❤️ 😊 😀)
They are not rendered properly
Additional context
I checked your code, you are using fillText as specified here
https://stackoverflow.com/questions/56312457/how-to-load-and-draw-emojis-on-canvas-efficiently
Thought it would work, not sure why it does not.
The text was updated successfully, but these errors were encountered: