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  -  NET::IDN::NAMEPREP (3)

.ds Aq ’

NAME

Net::IDN::Nameprep - A Stringprep Profile for Internationalized Domain Names (RFC 3491)

CONTENTS

SYNOPSIS



  use Net::IDN::Nameprep;
  $output = nameprep $input;



DESCRIPTION

This module implements the nameprep specification, which describes how to prepare internationalized domain name (IDN) labels in order to increase the likelihood that name input and name comparison work in ways that make sense for typical users throughout the world. Nameprep is a profile of the stringprep protocol and is used as part of a suite of on-the-wire protocols for internationalizing the Domain Name System (DNS).

FUNCTIONS

This module implements a single function, nameprep, which is exported by default.
nameprep( $input [, AllowUnassigned => 1 ] ) Processes $input according to the nameprep specification and returns the result.

If $input contains characters not allowed for nameprep, it throws an exception (so use eval if necessary).

This function takes the following optional parameter:
AllowUnassigned (boolean) If set to a false value, unassigned code points in $input are not allowed.

False MUST be used for stored strings.

True MAY be used for queries.

The default is true (backwards compatibility).

AUTHOR

Claus Faerber <CFAERBER@cpan.org>

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

LICENSE

Copyright 2007-2015 Claus Faerber.

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

SEE ALSO

Unicode::Stringprep, RFC 3491 (<http://www.ietf.org/rfc/rfc3491.txt>)
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 NET::IDN::NAMEPREP (3) 2016-03-17

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