Function idna::domain_to_unicode
source · Expand description
The domain to Unicode algorithm.
Return the Unicode representation of a domain name, normalizing characters (upper-case to lower-case and other kinds of equivalence) and decoding Punycode as necessary.
This may indicate syntax violations but always returns a string for the mapped domain.