[][src]Crate punycode

Fonctions to decode and encode RFC-3492 Punycode.

Functions

decode

Decode the string as Punycode. The string should not contain the initial xn-- and must contain only ASCII characters.

encode

Encode a string as punycode. The result string will contain only ASCII characters. The result string does not start with xn--.