Let result be the result of running Unicode ToASCII - with domain_name set to domain, UseSTD3ASCIIRules set to - beStrict, CheckHyphens set to false, CheckBidi set to true, - CheckJoiners set to true, Transitional_Processing set to false, - and VerifyDnsLength set to beStrict. +
Let result be the result of running Unicode ToASCII + with domain_name set to domain, UseSTD3ASCIIRules set to + beStrict, CheckHyphens set to false, CheckBidi set to true, + CheckJoiners set to true, Transitional_Processing set to false, + and VerifyDnsLength set to beStrict. + +
If beStrict is false, domain is an ASCII string, and
+ strictly splitting domain on U+002E (.) does not produce any
+ item that starts with "xn--
", this step is
+ equivalent to ASCII lowercasing domain.
If result is a failure value, validation error, return failure.