Suppose I have a string that contains Ü. How would I find all those unicode characters? Should I test for their code? How would I do that?
For example, given the str
You could go the other way round and ask if the character is an ascii character.
public static boolean isAscii(char ch) { return ch < 128; }
You'd have to analyse the string char by char then of course.
(the method is from commons-lang CharUtils which contains loads of useful Character methods)