in ch-commons-util/src/main/java/com/cloudhopper/commons/util/StringUtil.java [561:580]
public static boolean isPrintableChar(char ch) {
if (ch >= 'a' && ch <= 'z') {
return true;
}
if (ch >= 'A' && ch <= 'Z') {
return true;
}
if (ch >= '0' && ch <= '9') {
return true;
}
// loop thru our PRINTABLE string
for (int i = 0; i < PRINTABLE.length(); i++) {
if (ch == PRINTABLE.charAt(i)) {
return true;
}
}
return false;
}