Unicode normalization/equivalence is half of what you want and UCAPI is probably the other half.
https://en.wikipedia.org/wiki/Unicode_equivalence https://www.casaba.com/products/UCAPI/
https://en.wikipedia.org/wiki/Unicode_equivalence https://www.casaba.com/products/UCAPI/