Function iri_to_url
Converts a URL with international characters (an IRI) into a pure ASCII URL
Uses Punycode to encode any non-ASCII characters in the domain name, and uses standard URL encoding on the rest.
Package: SMF
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs.php
Copyright: 2020 Simple Machines and individual contributors
License: BSD
Author: Simple Machines https://www.simplemachines.org
Located at Sources/Subs.php
string |
$iri |
A IRI that may or may not contain non-ASCII characters. |
string|boolean
|
The URL version of the IRI. |