code: public static boolean isPrintable(int ch)
      {
          int cat = getType(ch);
          // if props == 0, it will just fall through and return false
          return (cat != UCharacterCategory.UNASSIGNED &&
                  cat != UCharacterCategory.CONTROL &&
                  cat != UCharacterCategory.FORMAT &&
                  cat != UCharacterCategory.PRIVATE_USE &&
                  cat != UCharacterCategory.SURROGATE &&
                  cat != UCharacterCategory.GENERAL_OTHER_TYPES);
      }
docs: <strong>[icu]</strong> Determines whether the specified code point is a printable character
  according to the Unicode standard.
  @param ch code point to be determined if it is printable
  @return true if the code point is a printable character