1libidnkit(3LIB) Interface Libraries libidnkit(3LIB)
2
3
4
6 libidnkit - IDN conversion library
7
9 cc [ flag... ] file... -lidnkit [ library... ]
10 #include <idn/api.h>
11
12
14 Functions in this library provide conversions between ACE string and
15 multibyte character string of the current locale or a specified code‐
16 set. They support various manipulations of internationalized domain
17 names, including encoding conversion and name preparation. They are
18 designed according to IDNA framework where each application must do
19 necessary preparations for the internationalized domain names before
20 passing them to the resolver. The library provides easy-to-use, high-
21 level interfaces to help applications with the preparation.
22
23
24 The libidnkit library internally uses iconv(3C) to provide encoding
25 conversion from UTF-8 to the local encoding (such as ISO8859-1, usually
26 determined by the current locale), and from the local encoding to
27 UTF-8.
28
30 The shared object libidnkit.so.1 provides the public interfaces defined
31 below. See Intro(3) for additional information on shared object inter‐
32 faces.
33
34
35
36
37 idn_decodename idn_decodename2
38 idn_enable idn_encodename
39 idn_nameinit
40
41
43 /usr/lib/libidnkit.so.1 shared object
44
45
46 /usr/lib/64/libidnkit.so.1 64-bit shared object
47
48
50 See attributes(5) for descriptions of the following attributes:
51
52
53
54
55 ┌─────────────────────────────┬─────────────────────────────┐
56 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
57 ├─────────────────────────────┼─────────────────────────────┤
58 │Availability │SUNWidnl │
59 ├─────────────────────────────┼─────────────────────────────┤
60 │Interface Stability │Evolving │
61 ├─────────────────────────────┼─────────────────────────────┤
62 │MT-Level │Unsafe │
63 └─────────────────────────────┴─────────────────────────────┘
64
66 Intro(3), iconv(3C), idn_decodename(3EXT), setlocale(3C), hosts(4),
67 attributes(5), environ(5)
68
69 RFC 3490 Internationalizing Domain Names in Applications
70 (IDNA)
71
72
73 RFC 3491 Nameprep: A Stringprep Profile for Internationalized
74 Domain Names (IDN)
75
76
77 RFC 3492 Punycode: A Bootstring encoding of Unicode for
78 Internationalized Domain Names in Applications
79 (IDNA)
80
81
82 RFC 3454 Preparation of Internationalized Strings ("string‐
83 prep")
84
85
86 RFC 952 DoD Internet Host Table Specification
87
88
89 RFC 921 Domain Name System Implementation Schedule - Revised
90
91
92 STD 3, RFC 1122 Requirements for Internet Hosts -- Communication
93 Layers
94
95
96 STD 3, RFC 1123 Requirements for Internet Hosts -- Applications and
97 Support
98
99
100
101 Unicode Standard Annex #15: Unicode Normalization Forms, Version 3.2.0.
102 http://www.unicode.org
103
104
105 International Language Environments Guide (for this version of Solaris)
106
108 Copyright (c) 2000-2002 Japan Network Information Center. All rights
109 reserved.
110
111
112 By using this file, you agree to the terms and conditions set forth
113 bellow.
114
115
116 LICENSE TERMS AND CONDITIONS
117
118
119 The following License Terms and Conditions apply, unless a different
120 license is obtained from Japan Network Information Center ("JPNIC"), a
121 Japanese association, Kokusai-Kougyou-Kanda Bldg 6F, 2-3-4 Uchi-Kanda,
122 Chiyoda-ku, Tokyo 101-0047, Japan.
123
124 1. Use, Modification and Redistribution (including distribution
125 of any modified or derived work) in source and/or binary
126 forms is permitted under this License Terms and Conditions.
127
128 2. Redistribution of source code must retain the copyright
129 notices as they appear in each source code file, this
130 License Terms and Conditions.
131
132 3. Redistribution in binary form must reproduce the Copyright
133 Notice, this License Terms and Conditions, in the documenta‐
134 tion and/or other materials provided with the distribution.
135 For the purposes of binary distribution the "Copyright
136 Notice" refers to the following language: "Copyright (c)
137 2000-2002 Japan Network Information Center. All rights
138 reserved."
139
140 4. The name of JPNIC may not be used to endorse or promote
141 products derived from this Software without specific prior
142 written approval of JPNIC.
143
144 5. Disclaimer/Limitation of Liability: THIS SOFTWARE IS PRO‐
145 VIDED BY JPNIC "AS IS" AND ANY EXPRESS OR IMPLIED WAR‐
146 RANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WAR‐
147 RANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PUR‐
148 POSE ARE DISCLAIMED. IN NO EVENT SHALL JPNIC BE LIABLE FOR
149 ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
150 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PRO‐
151 CUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
152 OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
153 ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABIL‐
154 ITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
155 ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
156 THE POSSIBILITY OF SUCH DAMAGES.
157
158
159
160SunOS 5.11 15 Aug 2003 libidnkit(3LIB)