
Net::IDN::Encode - Encoding/Decoding of Internationalized Domain Names (IDNs).

use Net::IDN::Encode;
$ascii = domain_to_ascii('müller.example.org');

The "Net::IDN::Encode" module provides an easy-to-use interface for Internationalized Domain Names (IDNs).

Converts all labels of the hostname $domain (with labels seperated by full stops) to ASCII. May throw an exception on invalid input.
Converts all labels of the hostname $domain (with labels seperated by full stops) to Unicode. May throw an exception on invalid input.
Converts the domain part (right hand side) of the RFC 2821/2822 email address to ASCII. May throw an exception on invalid input.
This function currently does not handle internationalization of the local-part (left hand side).
Converts the domain part (right hand side) of the RFC 2821/2822 email address to Unicode. May throw an exception on invalid input.
This function currently does not handle internationalization of the local-part (left hand side).

This module relies on modules that should be considered ALPHA.

Claus A. Färber <perl@faerber.muc.de>

Copyright © 2004 Claus A. Färber All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.