NAME

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

SYNOPSIS

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

DESCRIPTION

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

FUNCTIONS

domain_to_ascii( $domain )

Converts all labels of the hostname $domain (with labels seperated by full stops) to ASCII. May throw an exception on invalid input.

domain_to_unicode( $domain )

Converts all labels of the hostname $domain (with labels seperated by full stops) to Unicode. May throw an exception on invalid input.

email_to_ascii( $email )

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).

email_to_unicode( $email )

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).

AUTHOR

Claus A. Färber <CFAERBER@cpan.org>

SEE ALSO

Net::IDN::Nameprep, Net::IDN::Punycode, http://www.ietf.org/rfc/rfc3490.txt

1 POD Error

The following errors were encountered while parsing the POD:

Around line 31:

Non-ASCII character seen before =encoding in 'domain_to_ascii('müller.example.org');'. Assuming UTF-8