[][src]Function unic_idna_punycode::encode_str

pub fn encode_str(input: &str) -> Option<String>

Convert an Unicode str to Punycode.

This is a convenience wrapper around encode.