Android examples for java.lang:String Unicode
Return true if the character is NOT printable ASCII.
/**/*ww w. ja va 2s .c om*/ ******************************************************************************* * Copyright (C) 2001-2015, International Business Machines Corporation and * others. All Rights Reserved. ******************************************************************************* */ //package com.java2s; public class Main { /** * Return true if the character is NOT printable ASCII. The tab, * newline and linefeed characters are considered unprintable. */ public static boolean isUnprintable(int c) { return !(c >= 0x20 && c <= 0x7E); } }