punycode

Types

PunyError = object of Exception
  Source Edit

Procs

proc encode(prefix, s: string): string {...}{.raises: [PunyError], tags: [].}
Encode a string that may contain Unicode. Prepend prefix to the result   Source Edit
proc encode(s: string): string {...}{.raises: [PunyError], tags: [].}
Encode a string that may contain Unicode. Prefix is empty.   Source Edit
proc decode(encoded: string): string {...}{.raises: [PunyError], tags: [].}
Decode a Punycode-encoded string   Source Edit