Is there a way to get rid of accents and convert a whole string to regular letters?

Is there a better way for getting rid of accents and making those letters regular apart from using String.replaceAll() method and replacing letters one by one?
Example:

Input: orčpžsíáýd

Output: orcpzsiayd

It doesn’t need to include all letters with accents like the Russian alphabet or the Chinese one.

14 Answers
14

Leave a Comment