Hacker News new | ask | show | jobs
by txdv 336 days ago
There are also zero-space width characters, yeah utf is a rabbit hole
1 comments

Emojis and other unicode characters may or may not be rendered as a single-width character. I've been splitting hairs and strings.

The tool currently counts any unicode character as a single-width one.