News for hackers. Stuff that matters.
Re:String Lengths in Unicode by CaliforniaKarl on Sunday September 08, 2019 @10:19PM (#20914706)
As far as I can tell, it looks like progress on getting this into the Python stdlib has stalled: https://bugs.python.org/issue30717

In the absence of support in the stdlib, is https://github.com/alvinlindstam/grapheme the best to use?

Re:String Lengths in Unicode by sciyoshi on Sunday September 08, 2019 @10:58PM (#20914875)
I would highly recommend getting to know https://github.com/ovalhub/pyicu, which in addition to counting grapheme clusters with BreakIterator can also do things like normalisation, transliteration, and anything else you might need to do relating to Unicode.