public static String removeControlCharacters(final String input) {
        final Matcher remover = PATTERN_REMOVE_NONPRINTABLE.matcher(input);
        return remover.replaceAll(" ").trim();
    }
Remove all control characters (which are not valid in XML or HTML), as those should not appear in cache texts
anyway
main/src/main/java/cgeo/geocaching/utils/TextUtils.java