slackbuilds/perl/perl-Net-LibIDN
Erik Hanson 4248415dde Add REQUIRED field to .info files.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
2012-08-19 21:57:51 -05:00
..
README perl/*: Moved all of the Perl modules to here 2011-03-20 12:32:34 -05:00
perl-Net-LibIDN.SlackBuild perl/*: Moved all of the Perl modules to here 2011-03-20 12:32:34 -05:00
perl-Net-LibIDN.info Add REQUIRED field to .info files. 2012-08-19 21:57:51 -05:00
slack-desc Entire Repo: Fix the "handy ruler" length in slack-desc files 2012-08-15 20:27:00 -05:00

README

Net::LibIDN - Perl bindings for GNU Libidn

Provides bindings for GNU Libidn, a C library for handling Internationalized
Domain Names according to IDNA (RFC 3490), in a way very much inspired by
Turbo Fredriksson's PHP-IDN.
There is currently no support for Perl's unicode capabilities (man
perlunicode). All input strings are assumed to be octet strings, all output
strings are generated as octet strings. Thus, if you require Perl's unicode
features, you will have to convert your strings manually. For example:

 use Encode;
 use Data::Dumper;
 print Dumper(Net::LibIDN::idn_to_unicode('xn--uro-j50a.com', 'utf-8'));
 print Dumper(decode('utf-8', Net::LibIDN::idn_to_unicode('xn--uro-j50a.com', 'utf-8')));