Name
stringprep_nameprep -- A Stringprep Profile for Internationalized Domain Names
Description
This describes how to prepare internationalized domain name 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. This profile of the stringprep protocol is used as part of a
suite of on-the-wire protocols for internationalizing the DNS.
Details
stringprep_nameprep()
#define stringprep_nameprep(in, maxlen) |
Prepare the input UTF-8 string according to the nameprep profile.
The AllowUnassigned flag is true, use
stringprep_nameprep_no_unassigned() for false AllowUnassigned.
stringprep_nameprep_no_unassigned()
#define stringprep_nameprep_no_unassigned(in, maxlen) |
Prepare the input UTF-8 string according to the nameprep profile.
The AllowUnassigned flag is false, use stringprep_nameprep() for
true AllowUnassigned. Returns 0 iff successful, or an error code.