Skip to content

Kirby 5.1.2

$uri->unIdn()

Tries to convert a URL with an internationalized host name to the machine-readable Punycode representation

$uri->unIdn(): Kirby\Http\Uri

Return type

Kirby\Http\Uri

This method modifies the existing $uri object it is applied to and returns it again.

Parent class

Kirby\Http\Uri