Returns the Punycode ASCII serialization of the domain. If domain is an invalid domain, the empty string is returned.
Returns the Unicode serialization of the domain. If domain is an invalid domain, the empty string is returned.
It performs the inverse operation to domainToASCII()
.