System.Globalization.IdnMapping.GetUnicode Method

Decodes a string of one or more domain name labels, encoded according to the IDNA standard, to a string of Unicode characters.

Syntax

public string GetUnicode (string ascii)

Parameters

ascii
The string to decode, which consists of one or more labels in the US-ASCII character range (U+0020 to U+007E) encoded according to the IDNA standard.

Returns

The Unicode equivalent of the IDNA substring specified by the ascii parameter.

Remarks

For more information about domain names, labels, and label separators, see the remarks for the IdnMapping.GetAscii(string, int, int) method.

Requirements

Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0