url::idn($url)

Converts a URL with an internationalized domain name to the human-readable UTF8 representation

  • since: Kirby 2.3.2
  • $url (string)
    The URL to be converted
  • return (string)
    The converted URL

Please note that this method requires the PHP intl extension. If it is not installed, this function will return the passed URL without any changes.