
Net::idn::encode provides an easy-to-use interface to encode and decode internationalized domain names (idns).
idns use characters drawn from a large repertoire (unicode), but idna allows the non-ascii characters to be represented using only the ascii characters already allowed in so-called host names today (letter-digit-hypen, /[a-z0-9-]/i).