Einzelnen Beitrag anzeigen
Alt 25.11.2004, 14:55   #3
jak
Inventar
 
Registriert seit: 13.06.2001
Beiträge: 1.830


Standard

Nur zur Info:
Es gibt
Character.isLetter(char c)
Character.isLetterOrDigit(char c)
usw.

Könnte daran liegen, daß Dos die Buchstaben anders kodiert.
Du kannst ja mal probieren, was er da ausgibt:
Code:
static boolean isLetter (char ch){
  System.out.println(ch);
  System.out.println(Character.getValue(ch));
  System.out.println(Character.getNumericValue(ch));
  return Character.getNumericalValue(ch)==196; //dez 196 = hex C4
}
Jak
____________________________________
Join the DNRC | Godwin\'s Law (thx@stona)
Documentation is like sex: If it\'s good, it\'s very, very good. If it\'s bad, it\'s better than nothing.
\"In theory, theory and practice are the same. In practice, they are not\" (Lawrence Berra)
jak ist offline   Mit Zitat antworten