String a = "sdfdsdh水电费!!!!00000";
String e = URLEncoder.encode(a, "UTF-8");
输出加密 后的结果: fdsdh%E6%B0%B4%E7%94%B5%E8%B4%B9%EF%BC%81%EF%BC%81%EF%BC%81%EF%BC%8100000
String f=URLDecoder.decode(e, "UTF-8");//解密
输出解密后的结果:sdfdsdh水电费!!!!00000