slackbuilds/libraries/perl-Net-LibIDN
David Somero 8da8357563 libraries/perl-Net-LibIDN: Misc automated cleanups.
Signed-off-by: David Somero <xgizzmo@slackbuilds.org>
2010-06-04 01:09:32 -04:00
..
README libraries/perl-Net-LibIDN: Added to 12.2 repository 2010-05-12 23:30:57 +02:00
perl-Net-LibIDN.SlackBuild libraries/perl-Net-LibIDN: Misc automated cleanups. 2010-06-04 01:09:32 -04:00
perl-Net-LibIDN.info libraries: nitpicks on ordering of .info file 2010-05-18 00:29:17 -05:00
slack-desc libraries/perl-Net-LibIDN: Added to 12.2 repository 2010-05-12 23:30:57 +02: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')));