ASCII strings are so convenient. Byte length and character (grapheme) length are the same, and display length is simple too (tabs are the main fiddly bit).
As soon as you have Unicode, you need to distinguish these and use non-trivial libraries!
I've released difftastic 0.21. A fairly small release, but some nice improvements:
* Supports Emacs -*- syntax as another hint for language detection (handy for dune files).
* Improved alignment heuristics (see screenshot)
* A bunch of Unicode fixes
https://crates.io/crates/difftastic
Wilfred Hughes
Shared words: unicode, language, support
Score: 53.2