in ch-commons-util/src/main/java/com/cloudhopper/commons/util/StringUtil.java [188:201]
public static boolean isSafeChar(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 < SAFE.length(); i++) {
if (ch == SAFE.charAt(i))
return true;
}
return false;
}