idn.1   [plain text]


.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.36.
.TH LIBIDN "1" "December 2005" "libidn 0.6.0" "User Commands"
.SH NAME
libidn \- Internationalized Domain Names command line tool
.SH SYNOPSIS
.B libidn
[\fIOPTIONS\fR]... [\fISTRINGS\fR]...
.SH DESCRIPTION
libidn 0.6.0
.PP
Command line interface to the internationalized domain name library.
.PP
All strings are expected to be encoded in the preferred charset used
by your locale.  Use `\-\-debug' to find out what this charset is.  You
can override the charset used by setting environment variable CHARSET.
.PP
To process a string that starts with `\-', for example `\-foo', use `\-\-'
to signal the end of parameters, as in `idn \fB\-\-quiet\fR \fB\-a\fR \fB\-\-\fR \fB\-foo\fR'.
.TP
\fB\-h\fR, \fB\-\-help\fR
Print help and exit
.TP
\fB\-V\fR, \fB\-\-version\fR
Print version and exit
.TP
\fB\-s\fR, \fB\-\-stringprep\fR
Prepare string according to nameprep profile
.TP
\fB\-d\fR, \fB\-\-punycode\-decode\fR
Decode Punycode
.TP
\fB\-e\fR, \fB\-\-punycode\-encode\fR
Encode Punycode
.TP
\fB\-a\fR, \fB\-\-idna\-to\-ascii\fR
Convert to ACE according to IDNA (default)
.TP
\fB\-u\fR, \fB\-\-idna\-to\-unicode\fR
Convert from ACE according to IDNA
.TP
\fB\-\-allow\-unassigned\fR
Toggle IDNA AllowUnassigned flag  (default=off)
.TP
\fB\-\-usestd3asciirules\fR
Toggle IDNA UseSTD3ASCIIRules flag  (default=off)
.TP
\fB\-t\fR, \fB\-\-tld\fR
Check string for TLD specific rules
Only for \fB\-\-idna\-to\-ascii\fR and \fB\-\-idna\-to\-unicode\fR
(default=on)
.TP
\fB\-p\fR, \fB\-\-profile\fR=\fISTRING\fR
Use specified stringprep profile instead
Valid stringprep profiles are `Nameprep', `iSCSI',
`Nodeprep', `Resourceprep', `trace', and
`SASLprep'.
.TP
\fB\-\-debug\fR
Print debugging information  (default=off)
.TP
\fB\-\-quiet\fR
Silent operation  (default=off)
.SH "SEE ALSO"
The full documentation for
.B libidn
is maintained as a Texinfo manual.  If the
.B info
and
.B libidn
programs are properly installed at your site, the command
.IP
.B info libidn
.PP
should give you access to the complete manual.