"(this is a color-hued hand from Apple that doesn't render on HN)".length == 4
I ran into the length==2 bug when truncating some text, it led to errors trying to url encode a string :)
The author's `fancyCount2` still returns a size of 2 for these kinds of emoji, but I'm not too surprised.
"(this is a color-hued hand from Apple that doesn't render on HN)".length == 4
I ran into the length==2 bug when truncating some text, it led to errors trying to url encode a string :)
The author's `fancyCount2` still returns a size of 2 for these kinds of emoji, but I'm not too surprised.