%D1%A9%C0%CB%CF%E3%CB%AE这种编码是什么编码?
-----估计是用了java.net.URLEncoder.encode(String s, String enc)方法产生的。
-----你可以用和它对应的java.net.URLDecoder.decode(String s, String enc)方法来解码!

解决方案 »

  1.   

    public static String toChinese(String strvalue)
      {
        try
        {
          if(strvalue==null)
          {
            return null;
          }
          else
          {
            strvalue = new String(strvalue.getBytes("ISO8859_1"), "GBK");
            return strvalue;
          }
        }
        catch(Exception e)
        {
          return null;
        }
      }试试不行就换一下里面的编码
      

  2.   

    System.out.println(java.net.URLEncoder.encode("雪浪香水"));
    System.out.println(java.net.URLDecoder.decode("%D1%A9%C0%CB%CF%E3%CB%AE"));
      

  3.   

    我也遇到了同样的问题,但解决了!!
    你试试!!
    response.setContentType("text/html;charset=gb2312");
    request.setCharacterEncoding("gb2312");
      

  4.   

    URLDecoder.decode("%D1%A9%C0%CB%CF%E3%CB%AE","GBK") = "雪浪香水"