GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  URI::_PUNYCODE (3)

.ds Aq ’

NAME

URI::_punycode - encodes Unicode string in Punycode

CONTENTS

SYNOPSIS



  use URI::_punycode;
  $punycode = encode_punycode($unicode);
  $unicode  = decode_punycode($punycode);



DESCRIPTION

URI::_punycode is a module to encode / decode Unicode strings into Punycode, an efficient encoding of Unicode for use with IDNA.

This module requires Perl 5.6.0 or over to handle UTF8 flagged Unicode strings.

FUNCTIONS

This module exports following functions by default.
encode_punycode


  $punycode = encode_punycode($unicode);



takes Unicode string (UTF8-flagged variable) and returns Punycode encoding for it.

decode_punycode


  $unicode = decode_punycode($punycode)



takes Punycode encoding and returns original Unicode string.

These functions throw exceptions on failure. You can catch ’em via eval.

AUTHOR

Tatsuhiko Miyagawa <miyagawa@bulknews.net> is the author of IDNA::Punycode v0.02 which was the basis for this module.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

IDNA::Punycode, RFC 3492
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 URI::_PUNYCODE (3) 2016-01-08

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.