Tag: accented character

  • How to replace accented characters with the original characters in Java?

    Let’s say you have written an application which processes regular text. If user enters an accented word like “tête-à-tête” your application would break! How to remove the accents in the above characters? That is you want the word “tete-a-tete” and not “tête-à-tête”. Java provides a way. Below are the steps: STEP1: Normalize the word Normalizing…