Java.Net.URLDecoder.Decode Method
Decodes the argument which is assumed to be encoded in the x-www-form-urlencoded MIME content type, assuming the given charsetName.

Syntax

[Android.Runtime.Register("decode", "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;", "")]
public static string Decode (string s, string enc)

Parameters

s
Documentation for this section has not yet been entered.
charsetName
Documentation for this section has not yet been entered.

Returns

Documentation for this section has not yet been entered.

Exceptions

TypeReason
Java.IO.UnsupportedEncodingExceptionif charsetName is not supported.

Remarks

Decodes the argument which is assumed to be encoded in the x-www-form-urlencoded MIME content type, assuming the given charsetName. '

+' will be converted to space, '%' and two following hex digit characters are converted to the equivalent byte value. All other characters are passed through unmodified. For example "A+B+C %24%25" -> "A B C $%".

[Android Documentation]

Requirements

Namespace: Java.Net
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1