Encode::Punycode - Encode plugin for Punycode (S)


Encode-Punycode documentation  | view source Contained in the Encode-Punycode distribution.

Index


NAME

Top

Encode::Punycode - Encode plugin for Punycode (RFC 3492)

SYNOPSIS

Top

  use Encode;
  $unicode  = decode('Punycode', $punycode);
  $punycode = encode('Punycode', $unicode);

DESCRIPTION

Top

Encode::Punycode is an Encode plugin, which implements the Punycode encoding.

Punycode is an instance of a more general algorithm called Bootstring, which allows strings composed from a small set of "basic" code points to uniquely represent any string of code points drawn from a larger set. Punycode is Bootstring with particular parameter values appropriate for IDNA. For a more generic (but less efficient) Bootstring implementation, see Encode::Bootstring.

This module does not do any string preparation or mappings as specified by Nameprep. It does not do add any prefix or suffix, either. For higher-level handling of full Internationalised Domain Names, see Net::IDN::Encode.

AUTHOR

Top

Claus Färber <CFAERBER@cpan.org>

Previous versions written by Tatsuhiko Miyagawa <miyagawa@bulknews.net>

COPYRIGHT

Top

SEE ALSO

Top

Encode, Net::IDN::Punycode, RFC 3492 (http://www.ietf.org/rfc/rfc3492.txt)


Encode-Punycode documentation  | view source Contained in the Encode-Punycode distribution.