15 ms·
If you care about grapheme clusters, it doesn't mean using characters is wrong: you can layer a higher level API on top of characters. For example, if you want
by HelloNurse 7y ago
If you care about grapheme clusters, it doesn't mean using characters is wrong: you can layer a higher level API on top of characters.
For example, if you want to encode emojis some non-Unicode abstract description goes in and a sequence of characters go out, and if you want to figure out the boundaries of letters clustered with the respective combining diacritical marks they are subsequences in a sequence of characters.
- kibwen 7y ago> If you care about grapheme clusters, it doesn't mean using characters is wrong: you can layer a higher level API on top of characters. Be very careful here; when talking Unicode, there is no such single thing as a "character", and people being insufficiently precise here has been the source of much confusion.