code: public static String encode(final String input, final Charset charset) {
          return encode(parse(input), charset);
      }
docs: Replacement for {@link java.net.URLEncoder#encode(String, String)}.
  
  @see {@link #encode(java.util.List, java.nio.charset.Charset)}
  
  @param input
  @param charset
  @return