Skip to content

Kirby 4.5.0

$uri->idn()

Tries to convert the internationalized host name to the human-readable UTF8 representation

$uri->idn(): 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