[−][src]Crate unic_idna_punycode
UNIC — IDNA — Punycode (RFC 3492)
A component of unic
: Unicode and Internationalization Crates for Rust.
Implementation of Punycode (RFC 3492) algorithm.
Since Punycode fundamentally works on Unicode Code-Points,
encode
and decode
take and return slices and vectors of char
.
encode_str
and decode_to_string
provide convenience wrappers
that convert from and to Rust’s UTF-8 based str
and String
types.
Constants
PKG_DESCRIPTION | UNIC component description. |
PKG_NAME | UNIC component name. |
PKG_VERSION | UNIC component version. |
Functions
decode | Convert Punycode to Unicode. |
decode_to_string | Convert Punycode to an Unicode |
encode | Convert Unicode to Punycode. |
encode_str | Convert an Unicode |