URLEncoder

Methods
1
Fields
None

Methods

MethodReturnsDescription
encode(string, Charset)string(string, Charset) -> string: s encoded: letters, digits and .-*_ stay, a space is +, everything else is its bytes in charset as `…
encode(string, string)string
encode(string)string

Method details

encode

encode: ((string, Charset) -> string) & ((string, string) -> string) & ((string) -> string)

(string, Charset) -> string: s encoded: letters, digits and .-*_ stay, a space is +, everything else is its bytes in charset as %XY.

(string, string) -> string: s encoded in the charset enc names; an unknown one is UnsupportedEncodingException.

(string) -> string: s encoded in UTF-8.