Percent-decodes a string.
Percent-decodes a string.
the string to decode
the charset of percent-encoded characters
true if '+'
is to be interpreted as a ' '
a bitset of characters whose percent-encoded form is left percent-encoded. Almost certainly should be left empty.
Percent-encodes a string.
Percent-encodes a string. Depending on the parameters, this method is appropriate for URI or URL form encoding. Any resulting percent-encodings are normalized to uppercase.
the string to encode
the charset to use for characters that are percent encoded
if space is not skipped, determines whether it will be
rendreed as a "+"
or a percent-encoding according to charset
.
a bitset of characters exempt from encoding. In typical use, this is composed of all Unreserved URI characters and sometimes a subset of Reserved URI characters.