Function idna::punycode::encode_str

source ·
pub fn encode_str(input: &str) -> Option<String>
Expand description

Convert an Unicode str to Punycode.

This is a convenience wrapper around encode.