public static String quoteChar(char q)
	{
		switch(q)
		{
		case '\r':
			return "\\r";
		case '\n':
			return "\\n";
		case '\t':
			return "\\t";
		case '\'':
		case '\"':
		case '\\':
			return "\\" + q;
		default:
			return String.valueOf(q);		
		}
	}