From 93ba4df5022a8c4d422dd97a2a13ffa8a8946453 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Wed, 16 Mar 2011 01:18:10 -0500 Subject: perl/*: Moved all of the Perl modules to here Signed-off-by: Robby Workman --- perl/perl-Net-LibIDN/README | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 perl/perl-Net-LibIDN/README (limited to 'perl/perl-Net-LibIDN/README') diff --git a/perl/perl-Net-LibIDN/README b/perl/perl-Net-LibIDN/README new file mode 100644 index 0000000000000..e495139df4970 --- /dev/null +++ b/perl/perl-Net-LibIDN/README @@ -0,0 +1,14 @@ +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'))); -- cgit v1.2.3