public static String formatChar(final Character object) {
		if (object == null) return "null";
		final StringBuilder result = new StringBuilder(4).append('\'');
		switch (object.charValue()) {
			case '\'':
				result.append("\\\'");
			break;
			case '\t':
				result.append("\\t");
			break;
			case '\n':
				result.append("\\n");
			break;
			case '\r':
				result.append("\\r");
			break;
			default:
				result.append(object.charValue());
		}
		return result.append('\'').toString();
	}