code: public static boolean isPrintable( char c ) {
  	    Character.UnicodeBlock block = Character.UnicodeBlock.of( c );
  	    return (!Character.isISOControl(c)) 	&& 
  	    		c != KeyEvent.CHAR_UNDEFINED 	&&
  	            block != null 					&&
  	            block != Character.UnicodeBlock.SPECIALS;
  	}
docs: Checks whether the given character is printable.
  
  @param c
  the character to test.
  @return
  whether the character is printable.