5 ms·
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 varyi
by legulere 10y ago
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 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/ https://ianrenton.com/blog/adventures-in-emoji/
- legulere 10y agoApparently emoji representations are defined to be wide by unicode 9 now: http://www.unicode.org/reports/tr11/tr11-31.html#Modifications http://www.unicode.org/reports/tr11/tr11-31.html#Modificatio...