1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.38.2.
.TH IDN "1" "November 2011" "idn 1.23" "User Commands"
.SH NAME
idn \- Internationalized Domain Names command line tool
.SH SYNOPSIS
.B idn
[\fIOPTION\fR]... [\fISTRINGS\fR]...
.SH DESCRIPTION
Internationalized Domain Name (IDN) convert STRINGS, or standard input.
.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'.
.PP
Mandatory arguments to long options are mandatory for short options too.
.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 mode)
.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\-\-no\-tld\fR
Don't check string for TLD specific rules
Only for \fB\-\-idna\-to\-ascii\fR and \fB\-\-idna\-to\-unicode\fR
.TP
\fB\-n\fR, \fB\-\-nfkc\fR
Normalize string according to Unicode v3.2 NFKC
.TP
\fB\-p\fR, \fB\-\-profile\fR=\fISTRING\fR
Use specified stringprep profile instead
Valid stringprep profiles: `Nameprep',
`iSCSI', `Nodeprep', `Resourceprep',
`trace', `SASLprep'
.TP
\fB\-\-debug\fR
Print debugging information
.TP
\fB\-\-quiet\fR
Silent operation
.SH AUTHOR
Written by Simon Josefsson.
.SH "REPORTING BUGS"
Report bugs to: bug\-libidn@gnu.org
.br
GNU Libidn home page: <http://www.gnu.org/software/libidn/>
.br
General help using GNU software: <http://www.gnu.org/gethelp/>
.SH COPYRIGHT
Copyright \(co 2011 Simon Josefsson.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
.br
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.SH "SEE ALSO"
The full documentation for
.B idn
is maintained as a Texinfo manual. If the
.B info
and
.B idn
programs are properly installed at your site, the command
.IP
.B info idn
.PP
should give you access to the complete manual.
|