3 ms·
In my naive opinion, it seems like a good choice then for languages (the ones with first-class utf-8 support, anyway) to operate on scalars and leave graphemes
by weberc2 7y ago
In my naive opinion, it seems like a good choice then for languages (the ones with first-class utf-8 support, anyway) to operate on scalars and leave graphemes / user-text-editing-use-cases to libraries. (This is meant as an extention to your comment, not in contradiction to it).
- eridius 7y agoI'm glad that Swift has first-class support for grapheme clusters. It's just very irritating that they made it the default way to interact with strings.