Skip to main content

encode

Function encode 

Source
pub fn encode(text: &str) -> String
Expand description

Encode a string to Punycode (RFC 3492). Pure-ASCII input gains a trailing -.