Normalize a string except ñ

Viewed 3279

I have the following example code:

String n = "Péña";
n = Normalizer.normalize(n, Normalizer.Form.NFC);

How do I normalize the string n excepting the ñ?

And not only that string, I'm making a form and I want to keep just the ñ's, and everything else without diacritics.

1 Answers
Related