Publisher's description
GNU libidn is an implementation of the Punycode, IDNA Stringprep and specifications. GNU libidn is an implementation of the Punycode, Stringprep and IDNA specifications defined by the IETF Internationalized Domain Names (IDN) Working Group, used for internationalized domain names. The C library is available under the GNU Lesser General Public Library License.The contains an implementation Stringprep generic NFKC does Unicode 3.2 normalization, mapping and prohibition of characters, and bidirectional character handling. Profiles for iSCSI, Kerberos 5, Nameprep, SASL and XMPP are included. Punycode and ASCII Compatible Encoding (ACE) via IDNA are supported.The Stringprep API consists of two main functions, one for converting data from the system's native representation in UTF-8, and a function to process Stringprep . Adding a profile Stringprep for your application within the API is very simple. The Punycode API consists of an encoding function and decoding function. The IDNA API consists of functions ToASCII and ToUnicode, and a high level interface for converting entire domain names to and from the ACE encoded form.The library is used by, eg, GNU SASL and Shishi to handle user names and passwords. Libidn can be built in GNU libc to enable a new range of getaddrinfo () flag for IDN processing.Libidn is developed for GNU / Linux, but runs on over 20 Unix platforms (including Solaris, Irix, AIX and Tru64) and Windows. Libidn is written in C and (parts of) the API is accessible from C, C + +, Emacs Lisp, Python and Java. A native Java and C # port is also provided under the GNU Lesser General Public License.Command Line Options:-h, - help Print and exit-V, - version Print version and exit-s, - stringprep Prepare string function profile Nameprep-d, - decode Decode Punycode-Punycode-e --encode Encode Punycode Punycode-a, - idna-to-ascii Convert to ACE according to IDNA (default)-u, --idna -to-unicode Convert from ACE according to IDNA - allow-unassigned Toggle IDNA flag AllowUnassigned - UseSTD3ASCIIRules Toggle IDNA UseSTD3ASCIIRules flag-t - Check string TLD specific rules only for TLD - idna to ASCII - idna - p-to-unicode, - profile = Use string specified stringprep profile instead Valid stringprep profiles: Nameprep ` ',` iSCSI', `Nodeprep ',` Resourceprep', `trace ',` SASLprep' - debug Print debugging information -- Quiet Quiet Operation