Module idna::punycode

source Β·
Expand description

Punycode (RFC 3492) implementation.

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.

Structs§

Enums§

Constants§

Traits§

  • PunycodeCaller πŸ”’
    Marker for internal vs. external caller to retain old API behavior while tweaking behavior for internal callers.
  • PunycodeCodeUnit πŸ”’

Functions§