public final void printUnprintable(String value){
  if (value == null)   return;
  byte[] byteVal=value.getBytes();
  int letti=byteVal.length;
  StringBuffer risul=new StringBuffer(letti * 2);
  for (int index=0; index < letti; index++) {
    byte ch=byteVal[index];
    if (ch < ' ' || ch > 'z')     risul.append("(" + ch + ")");
    risul.append((char)ch);
  }
  print(risul.toString());
}

public final void printUnprintable ( String value ) { if ( value == null ) return ; byte [ ] byteVal = value . getBytes ( ) ; int letti = byteVal . length ; StringBuffer risul = new StringBuffer ( letti * 2 ) ; for ( int index = 0 ; index < letti ; index ++ ) { byte ch = byteVal [ index ] ; if ( ch < ' ' || ch > 'z' ) risul . append ( "(" + ch + ")" ) ; risul . append ( ( char ) ch ) ; } print ( risul . toString ( ) ) ; }
print unprintable chars like / n or / r or something else that is < ' ' or > ' z ' in a ( cal ) form and also prints the actual char so you may " see " it .
