code: @Deprecated
      public static String encode(String s) {
  	s = java.net.URLEncoder.encode(s);
  	if (s.indexOf('+') != -1) s = StringUtil.replace(s, "+", "%20", false);
  	return s;
      }
docs: Translates a string into <code>x-www-form-urlencoded</code> format. This method uses the
  platform's default encoding as the encoding scheme to obtain the bytes for unsafe characters.
  
  @param s <code>String</code> to be translated.
  @deprecated The resulting string may vary depending on the platform's default encoding. Instead,
  use the encode(String,String) method to specify the encoding.
  @return the translated <code>String</code>.