Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
txdv
· 1y ago · 0 comments
There are also zero-space width characters, yeah utf is a rabbit hole
Comments
[–]
webpro
1y ago
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.