I have a requirement where in i have a dropdown for some String
texts which have accent characters
as well as english characters
. Now when i search with English characters
i should be able to search for its equivalent accent characters
as well. Convert english characters to its equivalent accent characters.
Now when i provide input as DAG
i should have the below output
:
ÐÁĞ
DAG
I had thought of a solution to have HashMap
where i can map all the English alphabets with the accent characters
. But thought if there could be a library
already doing this job. I tried all ways but didnt find any. Please advise.