|
Feb
28
|
A lopp can be used to display all through all the characters and the isDefined() method of the Character class can be used to determine if a given character is a valid Unicode character or not
for (int i=0; i<=Integer.MAX_VALUE; i++)
{
if (Character.isDefined(i))
{
System.out.println(Integer.toHexString(i)+": "+
new String(Character.toChars(i)));
}
}



Recent Comments