What’s the best alternative to to java.text.Normalizer in android versions previous than 2.3?
http://developer.android.com/reference/java/text/Normalizer.html
I need to match Strings like
perché perchè perche
thanks
Nicola
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I have two solutions:
1.) Get the source for Normalizer from here and here. (it’s a few thousand lines)
2.) Build a simple translation HashMap yourself. Maybe your will have just French users for some time? This is a suboptimal solution but practical until your app goes worldwide.