Decodes a application/x-www-form-urlencoded string using a specific
encoding scheme.
The supplied encoding is used to determine
what characters are represented by any consecutive sequences of the
form " %xy".
Note: The World Wide Web Consortium Recommendation states that UTF-8 should be used. Not doing so may introduce incompatibilities.
s | the String to decode | |
enc | The name of a supported character encoding. |
String
UnsupportedEncodingException
| If character encoding needs to be consulted, but named character encoding is not supported |
URLEncoder.encode(java.lang.String, java.lang.String)
Diagram: URL