Skip to main content

decode_to_string

Function decode_to_string 

Source
pub fn decode_to_string(input: &str) -> Option<String>
Expand description

Decodes a Punycode label: "bcher-kva" becomes "bücher". None if it isn’t valid Punycode, or decodes to over MAX_LABEL code points.