Function idna::punycode::encode [−][src]
Expand description
Convert Unicode to Punycode.
Return None on overflow, which can only happen on inputs that would take more than 63 encoded bytes, the DNS limit on domain name labels.