pg_idna

Function idna_to_ascii

Source
pub fn idna_to_ascii(input: &str, adl: &str, h: &str, dl: &str) -> String
Expand description

Encodes input as ASCII Punycode.

§Panics

This function will panic under any of the following conditions:

§Defaults

For more information, see Uts46::to_ascii.