Comment on The Absolute Minimum Every Software Developer Must Know About Unicode in 2023 (Still No Excuses!)
Knusper@feddit.de 1 year agoYeah, and as much as I understand the article saying there should be an easily accessible method for grapheme count, it’s also kind of mad to put something like this into a stdlib.
Its behaviour will break with each new Unicode standard. And you’d have to upgrade the whole stdlib to keep up-to-date with the newest Unicode standards.
ono@lemmy.ca 1 year ago
It might make more sense to expose a standard library API for unicode data provided by (and updated with) the operating system. Something like the time zone database.