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
{{ message }}
Repository navigation
ZWJ emoji as account symbol only shows the first element of the emoji #9669
The monogram is made of the first 2 UTF-16 chars of the name, so from the phoenix only the bird is left. Also, ValidateAvatarMonogram allows at most 3 chars, and the phoenix alone takes 5.
I am working on utf8-string, a Kotlin Multiplatform string type that counts and iterates graphemes. It is my personal hobby and research project. With it, the monogram would be name.replace(" ", "").u8.graphemes.take(2).joinToString(""), and the check would count graphemes with monogram.u8.length. Would it be useful for you? And what API would you want to see?
Activity
bogomil commentedon Aug 28, 2025
Maybe that's a feature request?
DmitryNekrasov commentedon Oct 3, 2026
The monogram is made of the first 2 UTF-16 chars of the name, so from the phoenix only the bird is left. Also,
ValidateAvatarMonogramallows at most 3 chars, and the phoenix alone takes 5.I am working on utf8-string, a Kotlin Multiplatform string type that counts and iterates graphemes. It is my personal hobby and research project. With it, the monogram would be
name.replace(" ", "").u8.graphemes.take(2).joinToString(""), and the check would count graphemes withmonogram.u8.length. Would it be useful for you? And what API would you want to see?