code: public static String formatUrl(String url) {
  
          if (MiscUtils.findChinese(url)) {
  
              @SuppressWarnings("deprecation")
              String tmp = URLDecoder.decode(url);
              tmp = encodeGB(tmp);
  
              return tmp;
          } else {
              return url;
          }
      }
docs: 根据传入的字符串确定是否需要进行转码编译