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).
BUGS
This module relies on modules that should be considered ALPHA.
AUTHOR
Claus A. Färber <perl@faerber.muc.de>
COPYRIGHT
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.
1 POD Error
The following errors were encountered while parsing the POD:
- Around line 29:
Non-ASCII character seen before =encoding in 'domain_to_ascii('müller.example.org');'. Assuming UTF-8