Function encode
pub fn encode(input: &[char]) -> Option<String>
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.
encodepub fn encode(input: &[char]) -> Option<String>
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.