Hacker News new | ask | show | jobs
by umanwizard 3655 days ago
Ah, so is that why emojis don't display correctly in vim? They spill out of the character's bounding box...
1 comments

That sounds more like a problem of your terminal.

The basic problem is that Unicode characters (which may consist of as many codepoints as you like) have varying width. For instance Chinese has characters that are displayed over a width of two normal monospace characters.

See this hacker news post: https://news.ycombinator.com/item?id=10206380

So the problem with emojis is that they aren't really specified to be full width or half width characters: https://ianrenton.com/blog/adventures-in-emoji/

Apparently emoji representations are defined to be wide by unicode 9 now: http://www.unicode.org/reports/tr11/tr11-31.html#Modificatio...