Or even more in depth: https://www.youtube.com/watch?v=mubfp9WYvvI (Jennifer Lee, 55min, "Emoji by the People, For the People, a CS50 tech talk")
Does anyone need a "UTF-16 code unit count"? Somehow I don't think so. So it should really be counting graphemes, in my opinion.
Let’s be kind. Everyone’s just doing their best. (I know I also come off too harsh too often, especially online.)
But I implemented Twitter and SMS accurate count thanks to all the comment, win/win!
Does anyone need a "UTF-16 code unit count"? Somehow I don't think so. So it should really be counting graphemes, in my opinion.