We know a tolower function will turn all A to a
How to turn all à to a.
The purpose is I am creating ids for databases and id need to be unique. Sometimes the same stores are written as à in one place and as a on other places. This will create duplicate id problem.
So I need a function that will turn all à and all of it's variation into a. The same way ě should become e.
Basically I would use utf8_unicode collation on my databases. Letters that count as the same letter under that collation should map to the same character under this function.
I need to make sure that all other east asian characers are not affected in anyway.
How can I do so?