UrlHelper.ToUnicode Method

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

Overloads

ToUnicode(string) Converts an url from [Punycode](https://en.wikipedia.org/wiki/Punycode) to its unicode representation (the domain name will be Punycode decoded and the path will be URL decoded).
ToUnicode(Uri) Converts an uri from [Punycode](https://en.wikipedia.org/wiki/Punycode) to its unicode representation (the domain name will be Punycode decoded and the path will be URL decoded).

ToUnicode(string)

Converts an url from [Punycode](https://en.wikipedia.org/wiki/Punycode) to its unicode representation (the domain name will be Punycode decoded and the path will be URL decoded).

public static string ToUnicode(string url)

Parameters

url
string

The absolute url to convert to unicode.

Returns

string

ToUnicode(Uri)

Converts an uri from [Punycode](https://en.wikipedia.org/wiki/Punycode) to its unicode representation (the domain name will be Punycode decoded and the path will be URL decoded).

public static string ToUnicode(Uri uri)

Parameters

uri
System.Uri

The uri to convert to unicode.

Returns

string