docs: @Deprecated
      public static String encodeRFC2396(String url) {
          try {
              return new URI(null,url,null).toASCIIString();
          } catch (URISyntaxException e) {
              LOGGER.log(Level.WARNING, "Failed to encode {0}", url);    // could this ever happen?
              return url;
          }
      }