public static String encodeString(String str, String encode) {
		if (!isEmpty(str) && str.getBytes().length != str.length()) {
			try {
				str = URLEncoder.encode(str, encode);
			} catch (Exception e) {
				e.printStackTrace();
			}
		}
		return str;
	}