emoji encoding exception
sunwanxin213 opened this issue · 5 comments
sunwanxin213 commented
sunwanxin213 commented
At the same time, I'm also trying to support gradients. At present, there are still some bugs. When the preparation is completed, I will submit the code for review.
photopea commented
When I do this in JS
"🧜♂".length
It prints "4".
sunwanxin213 commented
I read the relevant literature. Is he supposed to be like this?
UInt32 (first emoji)+hyphen (UInt16)+UInt32 (second emoji)=combined emoji
sunwanxin213 commented
and in js hyphen length = 0
sunwanxin213 commented
I'm not sure. Although I mentioned issue, I will try to fix it.