$inet
->CanonicalizeURL(URL
, [flags
])
Converts a URL to a canonical format, which includes converting unsafe characters
to escape sequences. Returns the canonicalized URL, or undef
on error. For the
possible values of flags, refer to the Microsoft Win32 Internet Functions documentation.