3 ms·
This only works if you're not dealing with Unicode, where the number of bytes, the number of characters, and the width of those characters can all vary.
by JoshTriplett 6y ago
This only works if you're not dealing with Unicode, where the number of bytes, the number of characters, and the width of those characters can all vary.
- JanisL 6y agoThis makes me wonder if there's some sort of Unicode equivalent for this?
- Someone 6y agoYou don’t need Unicode for that. It also requires you use a monospaced font. I think the feature predates that and Unicode, though. But even then, it fails if you underline text the way it was done at the time, either by using backspace and underline characters or by using termcap (https://en.wikipedia.org/wiki/Termcap https://en.wikipedia.org/wiki/Termcap)