docs: public static final String toUrlEncoded(String str) {
      try {
        return URLEncoder.encode(str, "UTF-8");
      } catch (UnsupportedEncodingException exception) {
        // Ignore
      }
      return null;
    }