You can try to play around with the str to check for each ascii value
String str="have a look yourself";
char chr;
int ascii,length=str.length();
for(int i=0;i<length;i++){
chr=str.charAt(i);
ascii=(int)chr;
out.println("Char at ("+i+") : "+chr+" ---> "+ascii);
}