3 ms·
A lot of this can be achieved by using Unicode normalization [1] which is already built into Python [2]. I’m not saying this library isn’t more comprehensive (
by wodenokoto 5y ago
A lot of this can be achieved by using Unicode normalization [1] which is already built into Python [2].
I’m not saying this library isn’t more comprehensive (it’s been years since I’ve played with this)
1: https://unicode.org/reports/tr15/#Canon_Compat_Equivalence https://unicode.org/reports/tr15/#Canon_Compat_Equivalence
2: https://docs.python.org/3.9/library/unicodedata.html https://docs.python.org/3.9/library/unicodedata.html