Define domainToASCII() and domainToUnicode()