没有必要这么做,也没有办法。

解决方案 »

  1.   


      /**
       * 是否转化过
       * @return
       */
      public static boolean CheckGb(String str) throws ACProgEAPException
      {
        String strRE = "";
        try {
          strRE  = new String(URLDecoder.decode(str).getBytes(), "ISO-8859-1");
        }
        catch (Exception ex) {
          throw new ACProgEAPException("测试转化失败!");
        }    if (strRE.equals(str)) {
          //非汉字
          return false;
        }
        else
        {
          return true;
        }  }