B. Watson a6380d3947 perl/perl-Net-LibIDN: Wrap README at 72 columns. před 2 roky
..
README a6380d3947 perl/perl-Net-LibIDN: Wrap README at 72 columns. před 2 roky
perl-Net-LibIDN.SlackBuild 63daf9f79a All: Support $PRINT_PACKAGE_NAME env var před 3 roky
perl-Net-LibIDN.info da3f68841d perl/perl-Net-LibIDN: Update download. před 6 roky
slack-desc 610e8461bb various: Fix slack-desc formatting and comment nit picks. před 11 roky

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')));