protected int defaultMaximumAllowedCharacter(){
  String encoding=format.getEncoding();
  if (encoding != null) {
    if (encoding.equals("US-ASCII")) {
      return 127;
    }
  }
  return -1;
}

protected int defaultMaximumAllowedCharacter ( ) { String encoding = format . getEncoding ( ) ; if ( encoding != null ) { if ( encoding . equals ( "US-ASCII" ) ) { return 127 ; } } return - 1 ; }
returns the maximum allowed character code that should be allowed unescaped which defaults to 127 in us - ascii ( 7 bit ) or 255 in iso - ( 8 bit ) .
