class

URI::Punycode

Inherits Reference / Object

Punycode provides an interface for IDNA encoding (RFC 5980), defined in RFC 3492.

Implementation based on Mathias Bynens' punnycode.js project.

Class methods

decode(string) : String
Source
encode(string, io) : Nil
Source
encode(string) : String
Source
to_ascii(string) : String
Source