Skip to content

Kirby 4.2.0

$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 does not modify the existing $uri object but returns a new object with the changes applied. Learn more →

Parent class

Kirby\Http\Uri