String str = "设计视力";
System.out.println("[原始串]"+str);
String enstr = URLEncoder.encode(str,"gb2312");
System.out.println("[编码后]"+enstr);
String destr = URLDecoder.decode(enstr, "gb2312");
System.out.println("[解码后]"+destr);