@cpp.js/package-iconv 1.0.0-beta.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/LICENSE +502 -0
  2. package/README.md +47 -0
  3. package/cppjs-package-iconv.podspec +13 -0
  4. package/cppjs.build.js +14 -0
  5. package/cppjs.config.js +18 -0
  6. package/dist/prebuilt/Android-arm64-v8a/include/iconv.h +241 -0
  7. package/dist/prebuilt/Android-arm64-v8a/include/libcharset.h +45 -0
  8. package/dist/prebuilt/Android-arm64-v8a/include/localcharset.h +137 -0
  9. package/dist/prebuilt/Android-arm64-v8a/lib/libcharset.la +41 -0
  10. package/dist/prebuilt/Android-arm64-v8a/lib/libcharset.so +0 -0
  11. package/dist/prebuilt/Android-arm64-v8a/lib/libiconv.la +41 -0
  12. package/dist/prebuilt/Android-arm64-v8a/lib/libiconv.so +0 -0
  13. package/dist/prebuilt/Android-arm64-v8a/share/doc/iconv.1.html +205 -0
  14. package/dist/prebuilt/Android-arm64-v8a/share/doc/iconv.3.html +206 -0
  15. package/dist/prebuilt/Android-arm64-v8a/share/doc/iconv_close.3.html +89 -0
  16. package/dist/prebuilt/Android-arm64-v8a/share/doc/iconv_open.3.html +345 -0
  17. package/dist/prebuilt/Android-arm64-v8a/share/doc/iconv_open_into.3.html +132 -0
  18. package/dist/prebuilt/Android-arm64-v8a/share/doc/iconvctl.3.html +170 -0
  19. package/dist/prebuilt/Android-arm64-v8a/share/man/man1/iconv.1 +108 -0
  20. package/dist/prebuilt/Android-arm64-v8a/share/man/man3/iconv.3 +92 -0
  21. package/dist/prebuilt/Android-arm64-v8a/share/man/man3/iconv_close.3 +31 -0
  22. package/dist/prebuilt/Android-arm64-v8a/share/man/man3/iconv_open.3 +254 -0
  23. package/dist/prebuilt/Android-arm64-v8a/share/man/man3/iconv_open_into.3 +47 -0
  24. package/dist/prebuilt/Android-arm64-v8a/share/man/man3/iconvctl.3 +67 -0
  25. package/dist/prebuilt/CMakeLists.txt +44 -0
  26. package/dist/prebuilt/Emscripten-x86_64/include/iconv.h +241 -0
  27. package/dist/prebuilt/Emscripten-x86_64/include/libcharset.h +45 -0
  28. package/dist/prebuilt/Emscripten-x86_64/include/localcharset.h +137 -0
  29. package/dist/prebuilt/Emscripten-x86_64/lib/libcharset.a +0 -0
  30. package/dist/prebuilt/Emscripten-x86_64/lib/libcharset.la +41 -0
  31. package/dist/prebuilt/Emscripten-x86_64/lib/libiconv.a +0 -0
  32. package/dist/prebuilt/Emscripten-x86_64/lib/libiconv.la +41 -0
  33. package/dist/prebuilt/Emscripten-x86_64/share/doc/iconv.1.html +205 -0
  34. package/dist/prebuilt/Emscripten-x86_64/share/doc/iconv.3.html +206 -0
  35. package/dist/prebuilt/Emscripten-x86_64/share/doc/iconv_close.3.html +89 -0
  36. package/dist/prebuilt/Emscripten-x86_64/share/doc/iconv_open.3.html +345 -0
  37. package/dist/prebuilt/Emscripten-x86_64/share/doc/iconv_open_into.3.html +132 -0
  38. package/dist/prebuilt/Emscripten-x86_64/share/doc/iconvctl.3.html +170 -0
  39. package/dist/prebuilt/Emscripten-x86_64/share/locale/af/LC_MESSAGES/libiconv.mo +0 -0
  40. package/dist/prebuilt/Emscripten-x86_64/share/locale/bg/LC_MESSAGES/libiconv.mo +0 -0
  41. package/dist/prebuilt/Emscripten-x86_64/share/locale/ca/LC_MESSAGES/libiconv.mo +0 -0
  42. package/dist/prebuilt/Emscripten-x86_64/share/locale/cs/LC_MESSAGES/libiconv.mo +0 -0
  43. package/dist/prebuilt/Emscripten-x86_64/share/locale/da/LC_MESSAGES/libiconv.mo +0 -0
  44. package/dist/prebuilt/Emscripten-x86_64/share/locale/de/LC_MESSAGES/libiconv.mo +0 -0
  45. package/dist/prebuilt/Emscripten-x86_64/share/locale/el/LC_MESSAGES/libiconv.mo +0 -0
  46. package/dist/prebuilt/Emscripten-x86_64/share/locale/eo/LC_MESSAGES/libiconv.mo +0 -0
  47. package/dist/prebuilt/Emscripten-x86_64/share/locale/es/LC_MESSAGES/libiconv.mo +0 -0
  48. package/dist/prebuilt/Emscripten-x86_64/share/locale/et/LC_MESSAGES/libiconv.mo +0 -0
  49. package/dist/prebuilt/Emscripten-x86_64/share/locale/fi/LC_MESSAGES/libiconv.mo +0 -0
  50. package/dist/prebuilt/Emscripten-x86_64/share/locale/fr/LC_MESSAGES/libiconv.mo +0 -0
  51. package/dist/prebuilt/Emscripten-x86_64/share/locale/ga/LC_MESSAGES/libiconv.mo +0 -0
  52. package/dist/prebuilt/Emscripten-x86_64/share/locale/gl/LC_MESSAGES/libiconv.mo +0 -0
  53. package/dist/prebuilt/Emscripten-x86_64/share/locale/hr/LC_MESSAGES/libiconv.mo +0 -0
  54. package/dist/prebuilt/Emscripten-x86_64/share/locale/hu/LC_MESSAGES/libiconv.mo +0 -0
  55. package/dist/prebuilt/Emscripten-x86_64/share/locale/id/LC_MESSAGES/libiconv.mo +0 -0
  56. package/dist/prebuilt/Emscripten-x86_64/share/locale/it/LC_MESSAGES/libiconv.mo +0 -0
  57. package/dist/prebuilt/Emscripten-x86_64/share/locale/ja/LC_MESSAGES/libiconv.mo +0 -0
  58. package/dist/prebuilt/Emscripten-x86_64/share/locale/ko/LC_MESSAGES/libiconv.mo +0 -0
  59. package/dist/prebuilt/Emscripten-x86_64/share/locale/lt/LC_MESSAGES/libiconv.mo +0 -0
  60. package/dist/prebuilt/Emscripten-x86_64/share/locale/nl/LC_MESSAGES/libiconv.mo +0 -0
  61. package/dist/prebuilt/Emscripten-x86_64/share/locale/pl/LC_MESSAGES/libiconv.mo +0 -0
  62. package/dist/prebuilt/Emscripten-x86_64/share/locale/pt_BR/LC_MESSAGES/libiconv.mo +0 -0
  63. package/dist/prebuilt/Emscripten-x86_64/share/locale/rm/LC_MESSAGES/libiconv.mo +0 -0
  64. package/dist/prebuilt/Emscripten-x86_64/share/locale/ro/LC_MESSAGES/libiconv.mo +0 -0
  65. package/dist/prebuilt/Emscripten-x86_64/share/locale/ru/LC_MESSAGES/libiconv.mo +0 -0
  66. package/dist/prebuilt/Emscripten-x86_64/share/locale/sk/LC_MESSAGES/libiconv.mo +0 -0
  67. package/dist/prebuilt/Emscripten-x86_64/share/locale/sl/LC_MESSAGES/libiconv.mo +0 -0
  68. package/dist/prebuilt/Emscripten-x86_64/share/locale/sq/LC_MESSAGES/libiconv.mo +0 -0
  69. package/dist/prebuilt/Emscripten-x86_64/share/locale/sr/LC_MESSAGES/libiconv.mo +0 -0
  70. package/dist/prebuilt/Emscripten-x86_64/share/locale/sv/LC_MESSAGES/libiconv.mo +0 -0
  71. package/dist/prebuilt/Emscripten-x86_64/share/locale/tr/LC_MESSAGES/libiconv.mo +0 -0
  72. package/dist/prebuilt/Emscripten-x86_64/share/locale/uk/LC_MESSAGES/libiconv.mo +0 -0
  73. package/dist/prebuilt/Emscripten-x86_64/share/locale/vi/LC_MESSAGES/libiconv.mo +0 -0
  74. package/dist/prebuilt/Emscripten-x86_64/share/locale/wa/LC_MESSAGES/libiconv.mo +0 -0
  75. package/dist/prebuilt/Emscripten-x86_64/share/locale/zh_CN/LC_MESSAGES/libiconv.mo +0 -0
  76. package/dist/prebuilt/Emscripten-x86_64/share/locale/zh_TW/LC_MESSAGES/libiconv.mo +0 -0
  77. package/dist/prebuilt/Emscripten-x86_64/share/man/man1/iconv.1 +108 -0
  78. package/dist/prebuilt/Emscripten-x86_64/share/man/man3/iconv.3 +92 -0
  79. package/dist/prebuilt/Emscripten-x86_64/share/man/man3/iconv_close.3 +31 -0
  80. package/dist/prebuilt/Emscripten-x86_64/share/man/man3/iconv_open.3 +254 -0
  81. package/dist/prebuilt/Emscripten-x86_64/share/man/man3/iconv_open_into.3 +47 -0
  82. package/dist/prebuilt/Emscripten-x86_64/share/man/man3/iconvctl.3 +67 -0
  83. package/dist/prebuilt/charset.xcframework/Info.plist +50 -0
  84. package/dist/prebuilt/charset.xcframework/ios-arm64_arm64e/Headers/iconv.h +241 -0
  85. package/dist/prebuilt/charset.xcframework/ios-arm64_arm64e/Headers/libcharset.h +45 -0
  86. package/dist/prebuilt/charset.xcframework/ios-arm64_arm64e/Headers/localcharset.h +137 -0
  87. package/dist/prebuilt/charset.xcframework/ios-arm64_arm64e/libcharset.a +0 -0
  88. package/dist/prebuilt/charset.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/iconv.h +241 -0
  89. package/dist/prebuilt/charset.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/libcharset.h +45 -0
  90. package/dist/prebuilt/charset.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/localcharset.h +137 -0
  91. package/dist/prebuilt/charset.xcframework/ios-arm64_arm64e_x86_64-simulator/libcharset.a +0 -0
  92. package/dist/prebuilt/iOS-iphoneos/include/iconv.h +241 -0
  93. package/dist/prebuilt/iOS-iphoneos/include/libcharset.h +45 -0
  94. package/dist/prebuilt/iOS-iphoneos/include/localcharset.h +137 -0
  95. package/dist/prebuilt/iOS-iphoneos/lib/libcharset.a +0 -0
  96. package/dist/prebuilt/iOS-iphoneos/lib/libcharset.la +41 -0
  97. package/dist/prebuilt/iOS-iphoneos/lib/libiconv.a +0 -0
  98. package/dist/prebuilt/iOS-iphoneos/lib/libiconv.la +41 -0
  99. package/dist/prebuilt/iOS-iphoneos/share/doc/iconv.1.html +205 -0
  100. package/dist/prebuilt/iOS-iphoneos/share/doc/iconv.3.html +206 -0
  101. package/dist/prebuilt/iOS-iphoneos/share/doc/iconv_close.3.html +89 -0
  102. package/dist/prebuilt/iOS-iphoneos/share/doc/iconv_open.3.html +345 -0
  103. package/dist/prebuilt/iOS-iphoneos/share/doc/iconv_open_into.3.html +132 -0
  104. package/dist/prebuilt/iOS-iphoneos/share/doc/iconvctl.3.html +170 -0
  105. package/dist/prebuilt/iOS-iphoneos/share/man/man1/iconv.1 +108 -0
  106. package/dist/prebuilt/iOS-iphoneos/share/man/man3/iconv.3 +92 -0
  107. package/dist/prebuilt/iOS-iphoneos/share/man/man3/iconv_close.3 +31 -0
  108. package/dist/prebuilt/iOS-iphoneos/share/man/man3/iconv_open.3 +254 -0
  109. package/dist/prebuilt/iOS-iphoneos/share/man/man3/iconv_open_into.3 +47 -0
  110. package/dist/prebuilt/iOS-iphoneos/share/man/man3/iconvctl.3 +67 -0
  111. package/dist/prebuilt/iOS-iphonesimulator/include/iconv.h +241 -0
  112. package/dist/prebuilt/iOS-iphonesimulator/include/libcharset.h +45 -0
  113. package/dist/prebuilt/iOS-iphonesimulator/include/localcharset.h +137 -0
  114. package/dist/prebuilt/iOS-iphonesimulator/lib/libcharset.a +0 -0
  115. package/dist/prebuilt/iOS-iphonesimulator/lib/libcharset.la +41 -0
  116. package/dist/prebuilt/iOS-iphonesimulator/lib/libiconv.a +0 -0
  117. package/dist/prebuilt/iOS-iphonesimulator/lib/libiconv.la +41 -0
  118. package/dist/prebuilt/iOS-iphonesimulator/share/doc/iconv.1.html +205 -0
  119. package/dist/prebuilt/iOS-iphonesimulator/share/doc/iconv.3.html +206 -0
  120. package/dist/prebuilt/iOS-iphonesimulator/share/doc/iconv_close.3.html +89 -0
  121. package/dist/prebuilt/iOS-iphonesimulator/share/doc/iconv_open.3.html +345 -0
  122. package/dist/prebuilt/iOS-iphonesimulator/share/doc/iconv_open_into.3.html +132 -0
  123. package/dist/prebuilt/iOS-iphonesimulator/share/doc/iconvctl.3.html +170 -0
  124. package/dist/prebuilt/iOS-iphonesimulator/share/man/man1/iconv.1 +108 -0
  125. package/dist/prebuilt/iOS-iphonesimulator/share/man/man3/iconv.3 +92 -0
  126. package/dist/prebuilt/iOS-iphonesimulator/share/man/man3/iconv_close.3 +31 -0
  127. package/dist/prebuilt/iOS-iphonesimulator/share/man/man3/iconv_open.3 +254 -0
  128. package/dist/prebuilt/iOS-iphonesimulator/share/man/man3/iconv_open_into.3 +47 -0
  129. package/dist/prebuilt/iOS-iphonesimulator/share/man/man3/iconvctl.3 +67 -0
  130. package/dist/prebuilt/iconv.xcframework/Info.plist +50 -0
  131. package/dist/prebuilt/iconv.xcframework/ios-arm64_arm64e/Headers/iconv.h +241 -0
  132. package/dist/prebuilt/iconv.xcframework/ios-arm64_arm64e/Headers/libcharset.h +45 -0
  133. package/dist/prebuilt/iconv.xcframework/ios-arm64_arm64e/Headers/localcharset.h +137 -0
  134. package/dist/prebuilt/iconv.xcframework/ios-arm64_arm64e/libiconv.a +0 -0
  135. package/dist/prebuilt/iconv.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/iconv.h +241 -0
  136. package/dist/prebuilt/iconv.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/libcharset.h +45 -0
  137. package/dist/prebuilt/iconv.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/localcharset.h +137 -0
  138. package/dist/prebuilt/iconv.xcframework/ios-arm64_arm64e_x86_64-simulator/libiconv.a +0 -0
  139. package/package.json +28 -0
@@ -0,0 +1,345 @@
1
+ <!-- Creator : groff version 1.22.3 -->
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
3
+ "http://www.w3.org/TR/html4/loose.dtd">
4
+ <html>
5
+ <head>
6
+ <meta name="generator" content="groff -Thtml, see www.gnu.org">
7
+ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
8
+ <meta name="Content-Style" content="text/css">
9
+ <style type="text/css">
10
+ p { margin-top: 0; margin-bottom: 0; vertical-align: top }
11
+ pre { margin-top: 0; margin-bottom: 0; vertical-align: top }
12
+ table { margin-top: 0; margin-bottom: 0; vertical-align: top }
13
+ h1 { text-align: center }
14
+ </style>
15
+ <title>ICONV_OPEN</title>
16
+
17
+ </head>
18
+ <body>
19
+
20
+ <h1 align="center">ICONV_OPEN</h1>
21
+
22
+ <a href="#NAME">NAME</a><br>
23
+ <a href="#SYNOPSIS">SYNOPSIS</a><br>
24
+ <a href="#DESCRIPTION">DESCRIPTION</a><br>
25
+ <a href="#RETURN VALUE">RETURN VALUE</a><br>
26
+ <a href="#ERRORS">ERRORS</a><br>
27
+ <a href="#CONFORMING TO">CONFORMING TO</a><br>
28
+ <a href="#SEE ALSO">SEE ALSO</a><br>
29
+
30
+ <hr>
31
+
32
+
33
+ <h2>NAME
34
+ <a name="NAME"></a>
35
+ </h2>
36
+
37
+
38
+ <p style="margin-left:11%; margin-top: 1em">iconv_open
39
+ &minus; allocate descriptor for character set conversion</p>
40
+
41
+ <h2>SYNOPSIS
42
+ <a name="SYNOPSIS"></a>
43
+ </h2>
44
+
45
+
46
+ <p style="margin-left:11%; margin-top: 1em"><b>#include
47
+ &lt;iconv.h&gt;</b></p>
48
+
49
+ <p style="margin-left:11%; margin-top: 1em"><b>iconv_t
50
+ iconv_open (const char*</b> <i>tocode</i><b>, const
51
+ char*</b> <i>fromcode</i><b>);</b></p>
52
+
53
+ <h2>DESCRIPTION
54
+ <a name="DESCRIPTION"></a>
55
+ </h2>
56
+
57
+
58
+ <p style="margin-left:11%; margin-top: 1em">The
59
+ <b>iconv_open</b> function allocates a conversion descriptor
60
+ suitable for converting byte sequences from character
61
+ encoding <i>fromcode</i> to character encoding
62
+ <i>tocode</i>.</p>
63
+
64
+ <p style="margin-left:11%; margin-top: 1em">The values
65
+ permitted for <i>fromcode</i> and <i>tocode</i> and the
66
+ supported combinations are system dependent. For the
67
+ libiconv library, the following encodings are supported, in
68
+ all combinations. <br>
69
+ European languages</p>
70
+
71
+ <p style="margin-left:22%;">ASCII,
72
+ ISO&minus;8859&minus;{1,2,3,4,5,7,9,10,13,14,15,16},
73
+ KOI8&minus;R, KOI8&minus;U, KOI8&minus;RU,
74
+ CP{1250,1251,1252,1253,1254,1257}, CP{850,866,1131},
75
+ Mac{Roman,CentralEurope,Iceland,Croatian,Romania},
76
+ Mac{Cyrillic,Ukraine,Greek,Turkish}, Macintosh</p>
77
+
78
+ <p style="margin-left:11%;">Semitic languages</p>
79
+
80
+ <p style="margin-left:22%;">ISO&minus;8859&minus;{6,8},
81
+ CP{1255,1256}, CP862, Mac{Hebrew,Arabic}</p>
82
+
83
+ <p style="margin-left:11%;">Japanese</p>
84
+
85
+ <p style="margin-left:22%;">EUC&minus;JP, SHIFT_JIS, CP932,
86
+ ISO&minus;2022&minus;JP, ISO&minus;2022&minus;JP&minus;2,
87
+ ISO&minus;2022&minus;JP&minus;1,
88
+ ISO-2022&minus;JP&minus;MS</p>
89
+
90
+ <p style="margin-left:11%;">Chinese</p>
91
+
92
+ <p style="margin-left:22%;">EUC&minus;CN, HZ, GBK, CP936,
93
+ GB18030, EUC&minus;TW, BIG5, CP950, BIG5&minus;HKSCS,
94
+ BIG5&minus;HKSCS:2004, BIG5&minus;HKSCS:2001,
95
+ BIG5&minus;HKSCS:1999, ISO&minus;2022&minus;CN,
96
+ ISO&minus;2022&minus;CN&minus;EXT</p>
97
+
98
+ <table width="100%" border="0" rules="none" frame="void"
99
+ cellspacing="0" cellpadding="0">
100
+ <tr valign="top" align="left">
101
+ <td width="11%"></td>
102
+ <td width="9%">
103
+
104
+
105
+ <p>Korean</p></td>
106
+ <td width="2%"></td>
107
+ <td width="50%">
108
+
109
+
110
+ <p>EUC&minus;KR, CP949, ISO&minus;2022&minus;KR, JOHAB</p></td>
111
+ <td width="28%">
112
+ </td></tr>
113
+ </table>
114
+
115
+ <p style="margin-left:11%;">Armenian</p>
116
+
117
+ <p style="margin-left:22%;">ARMSCII&minus;8</p>
118
+
119
+ <p style="margin-left:11%;">Georgian</p>
120
+
121
+ <p style="margin-left:22%;">Georgian&minus;Academy,
122
+ Georgian&minus;PS</p>
123
+
124
+ <table width="100%" border="0" rules="none" frame="void"
125
+ cellspacing="0" cellpadding="0">
126
+ <tr valign="top" align="left">
127
+ <td width="11%"></td>
128
+ <td width="9%">
129
+
130
+
131
+ <p>Tajik</p></td>
132
+ <td width="2%"></td>
133
+ <td width="35%">
134
+
135
+
136
+ <p>KOI8&minus;T</p></td>
137
+ <td width="43%">
138
+ </td></tr>
139
+ <tr valign="top" align="left">
140
+ <td width="11%"></td>
141
+ <td width="9%">
142
+
143
+
144
+ <p>Kazakh</p></td>
145
+ <td width="2%"></td>
146
+ <td width="35%">
147
+
148
+
149
+ <p>PT154, RK1048</p></td>
150
+ <td width="43%">
151
+ </td></tr>
152
+ <tr valign="top" align="left">
153
+ <td width="11%"></td>
154
+ <td width="9%">
155
+
156
+
157
+ <p>Thai</p></td>
158
+ <td width="2%"></td>
159
+ <td width="35%">
160
+
161
+
162
+ <p>TIS&minus;620, CP874, MacThai</p></td>
163
+ <td width="43%">
164
+ </td></tr>
165
+ </table>
166
+
167
+ <p style="margin-left:11%;">Laotian</p>
168
+
169
+ <p style="margin-left:22%;">MuleLao&minus;1, CP1133</p>
170
+
171
+ <p style="margin-left:11%;">Vietnamese</p>
172
+
173
+ <p style="margin-left:22%;">VISCII, TCVN, CP1258</p>
174
+
175
+ <p style="margin-left:11%;">Platform specifics</p>
176
+
177
+ <p style="margin-left:22%;">HP&minus;ROMAN8, NEXTSTEP</p>
178
+
179
+ <p style="margin-left:11%;">Full Unicode</p>
180
+
181
+ <p style="margin-left:22%;">UTF&minus;8 <br>
182
+ UCS&minus;2, UCS&minus;2BE, UCS&minus;2LE <br>
183
+ UCS&minus;4, UCS&minus;4BE, UCS&minus;4LE <br>
184
+ UTF&minus;16, UTF&minus;16BE, UTF&minus;16LE <br>
185
+ UTF&minus;32, UTF&minus;32BE, UTF&minus;32LE <br>
186
+ UTF&minus;7 <br>
187
+ C99, JAVA</p>
188
+
189
+ <p style="margin-left:11%;">Full Unicode, in terms of
190
+ <b>uint16_t</b> or <b>uint32_t</b></p>
191
+
192
+ <p style="margin-left:22%;">(with machine dependent
193
+ endianness and alignment) <br>
194
+ UCS&minus;2&minus;INTERNAL, UCS&minus;4&minus;INTERNAL</p>
195
+
196
+ <p style="margin-left:11%;">Locale dependent, in terms of
197
+ <b>char</b> or <b>wchar_t</b></p>
198
+
199
+ <p style="margin-left:22%;">(with machine dependent
200
+ endianness and alignment, and with semantics depending on
201
+ the OS and the current LC_CTYPE locale facet) <br>
202
+ char, wchar_t</p>
203
+
204
+ <p style="margin-left:11%; margin-top: 1em">When configured
205
+ with the option
206
+ <b>&minus;&minus;enable&minus;extra&minus;encodings</b>, it
207
+ also provides support for a few extra encodings: <br>
208
+ European languages</p>
209
+
210
+
211
+ <p style="margin-left:22%;">CP{437,737,775,852,853,855,857,858,860,861,863,865,869,1125}</p>
212
+
213
+ <p style="margin-left:11%;">Semitic languages</p>
214
+
215
+ <p style="margin-left:22%;">CP864</p>
216
+
217
+ <p style="margin-left:11%;">Japanese</p>
218
+
219
+ <p style="margin-left:22%;">EUC&minus;JISX0213,
220
+ Shift_JISX0213, ISO&minus;2022&minus;JP&minus;3</p>
221
+
222
+ <p style="margin-left:11%;">Chinese</p>
223
+
224
+ <p style="margin-left:22%;">BIG5&minus;2003
225
+ (experimental)</p>
226
+
227
+ <p style="margin-left:11%;">Turkmen</p>
228
+
229
+ <p style="margin-left:22%;">TDS565</p>
230
+
231
+ <p style="margin-left:11%;">Platform specifics</p>
232
+
233
+ <p style="margin-left:22%;">ATARIST,
234
+ RISCOS&minus;LATIN1</p>
235
+
236
+ <p style="margin-left:11%;">EBCDIC compatible (not ASCII
237
+ compatible, very rarely used)</p>
238
+
239
+ <p style="margin-left:22%;">European languages: <br>
240
+
241
+ IBM-{037,273,277,278,280,282,284,285,297,423,500,870,871,875,880},
242
+ <br>
243
+
244
+ IBM-{905,924,1025,1026,1047,1112,1122,1123,1140,1141,1142,1143},
245
+ <br>
246
+
247
+ IBM-{1144,1145,1146,1147,1148,1149,1153,1154,1155,1156,1157,1158},
248
+ <br>
249
+ IBM-{1165,1166,4971} <br>
250
+ Semitic languages: <br>
251
+ IBM-{424,425,12712,16804} <br>
252
+ Persian: <br>
253
+ IBM-1097 <br>
254
+ Thai: <br>
255
+ IBM-{838,1160} <br>
256
+ Laotian: <br>
257
+ IBM-1132 <br>
258
+ Vietnamese: <br>
259
+ IBM-{1130,1164} <br>
260
+ Indic languages: <br>
261
+ IBM-1137</p>
262
+
263
+ <p style="margin-left:11%; margin-top: 1em">The empty
264
+ encoding name &quot;&quot; is equivalent to
265
+ &quot;char&quot;: it denotes the locale dependent character
266
+ encoding.</p>
267
+
268
+ <p style="margin-left:11%; margin-top: 1em">When the string
269
+ &quot;//TRANSLIT&quot; is appended to <i>tocode</i>,
270
+ transliteration is activated. This means that when a
271
+ character cannot be represented in the target character set,
272
+ it can be approximated through one or several characters
273
+ that look similar to the original character.</p>
274
+
275
+ <p style="margin-left:11%; margin-top: 1em">When the string
276
+ &quot;//IGNORE&quot; is appended to <i>tocode</i>,
277
+ characters that cannot be represented in the target
278
+ character set will be silently discarded.</p>
279
+
280
+ <p style="margin-left:11%; margin-top: 1em">The resulting
281
+ conversion descriptor can be used with <b>iconv</b> any
282
+ number of times. It remains valid until deallocated using
283
+ <b>iconv_close</b>.</p>
284
+
285
+ <p style="margin-left:11%; margin-top: 1em">A conversion
286
+ descriptor contains a conversion state. After creation using
287
+ <b>iconv_open</b>, the state is in the initial state. Using
288
+ <b>iconv</b> modifies the descriptor&rsquo;s conversion
289
+ state. (This implies that a conversion descriptor can not be
290
+ used in multiple threads simultaneously.) To bring the state
291
+ back to the initial state, use <b>iconv</b> with NULL as
292
+ <i>inbuf</i> argument.</p>
293
+
294
+ <h2>RETURN VALUE
295
+ <a name="RETURN VALUE"></a>
296
+ </h2>
297
+
298
+
299
+ <p style="margin-left:11%; margin-top: 1em">The
300
+ <b>iconv_open</b> function returns a freshly allocated
301
+ conversion descriptor. In case of error, it sets
302
+ <b>errno</b> and returns (iconv_t)(&minus;1).</p>
303
+
304
+ <h2>ERRORS
305
+ <a name="ERRORS"></a>
306
+ </h2>
307
+
308
+
309
+ <p style="margin-left:11%; margin-top: 1em">The following
310
+ error can occur, among others:</p>
311
+
312
+ <table width="100%" border="0" rules="none" frame="void"
313
+ cellspacing="0" cellpadding="0">
314
+ <tr valign="top" align="left">
315
+ <td width="11%"></td>
316
+ <td width="9%">
317
+
318
+
319
+ <p><b>EINVAL</b></p></td>
320
+ <td width="2%"></td>
321
+ <td width="78%">
322
+
323
+
324
+ <p>The conversion from <i>fromcode</i> to <i>tocode</i> is
325
+ not supported by the implementation.</p></td></tr>
326
+ </table>
327
+
328
+ <h2>CONFORMING TO
329
+ <a name="CONFORMING TO"></a>
330
+ </h2>
331
+
332
+
333
+ <p style="margin-left:11%; margin-top: 1em">POSIX:2001</p>
334
+
335
+ <h2>SEE ALSO
336
+ <a name="SEE ALSO"></a>
337
+ </h2>
338
+
339
+
340
+
341
+ <p style="margin-left:11%; margin-top: 1em"><b>iconv</b>(3)
342
+ <b>iconvctl</b>(3) <b>iconv_close</b>(3)</p>
343
+ <hr>
344
+ </body>
345
+ </html>
@@ -0,0 +1,132 @@
1
+ <!-- Creator : groff version 1.22.3 -->
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
3
+ "http://www.w3.org/TR/html4/loose.dtd">
4
+ <html>
5
+ <head>
6
+ <meta name="generator" content="groff -Thtml, see www.gnu.org">
7
+ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
8
+ <meta name="Content-Style" content="text/css">
9
+ <style type="text/css">
10
+ p { margin-top: 0; margin-bottom: 0; vertical-align: top }
11
+ pre { margin-top: 0; margin-bottom: 0; vertical-align: top }
12
+ table { margin-top: 0; margin-bottom: 0; vertical-align: top }
13
+ h1 { text-align: center }
14
+ </style>
15
+ <title>ICONV_OPEN_INTO</title>
16
+
17
+ </head>
18
+ <body>
19
+
20
+ <h1 align="center">ICONV_OPEN_INTO</h1>
21
+
22
+ <a href="#NAME">NAME</a><br>
23
+ <a href="#SYNOPSIS">SYNOPSIS</a><br>
24
+ <a href="#DESCRIPTION">DESCRIPTION</a><br>
25
+ <a href="#RETURN VALUE">RETURN VALUE</a><br>
26
+ <a href="#ERRORS">ERRORS</a><br>
27
+ <a href="#CONFORMING TO">CONFORMING TO</a><br>
28
+ <a href="#SEE ALSO">SEE ALSO</a><br>
29
+
30
+ <hr>
31
+
32
+
33
+ <h2>NAME
34
+ <a name="NAME"></a>
35
+ </h2>
36
+
37
+
38
+
39
+ <p style="margin-left:11%; margin-top: 1em">iconv_open_into
40
+ &minus; initialize descriptor for character set
41
+ conversion</p>
42
+
43
+ <h2>SYNOPSIS
44
+ <a name="SYNOPSIS"></a>
45
+ </h2>
46
+
47
+
48
+ <p style="margin-left:11%; margin-top: 1em"><b>#include
49
+ &lt;iconv.h&gt;</b></p>
50
+
51
+ <p style="margin-left:11%; margin-top: 1em"><b>int
52
+ iconv_open_into (const char*</b> <i>tocode</i><b>, const
53
+ char*</b> <i>fromcode</i><b>, <br>
54
+ iconv_allocation_t*</b> <i>resultp</i><b>);</b></p>
55
+
56
+ <h2>DESCRIPTION
57
+ <a name="DESCRIPTION"></a>
58
+ </h2>
59
+
60
+
61
+ <p style="margin-left:11%; margin-top: 1em">The
62
+ <b>iconv_open_into</b> function initializes a conversion
63
+ descriptor suitable for converting byte sequences from
64
+ character encoding <i>fromcode</i> to character encoding
65
+ <i>tocode</i>. The conversion descriptor is stored in the
66
+ memory pointed to by <i>resultp</i>.</p>
67
+
68
+ <p style="margin-left:11%; margin-top: 1em">The values
69
+ permitted for <i>fromcode</i> and <i>tocode</i> are the same
70
+ as for the function <b>iconv_open</b>.</p>
71
+
72
+ <p style="margin-left:11%; margin-top: 1em">After a
73
+ successful return from this function, <i>resultp</i> can be
74
+ be used as an <b>iconv_t</b> object with the <b>iconv</b>
75
+ function.</p>
76
+
77
+ <h2>RETURN VALUE
78
+ <a name="RETURN VALUE"></a>
79
+ </h2>
80
+
81
+
82
+ <p style="margin-left:11%; margin-top: 1em">The
83
+ <b>iconv_open_into</b> function fills <b>*</b><i>resultp</i>
84
+ and returns 0 if it succeeds. In case of error, it sets
85
+ <b>errno</b> and returns &minus;1.</p>
86
+
87
+ <h2>ERRORS
88
+ <a name="ERRORS"></a>
89
+ </h2>
90
+
91
+
92
+ <p style="margin-left:11%; margin-top: 1em">The following
93
+ error can occur, among others:</p>
94
+
95
+ <table width="100%" border="0" rules="none" frame="void"
96
+ cellspacing="0" cellpadding="0">
97
+ <tr valign="top" align="left">
98
+ <td width="11%"></td>
99
+ <td width="9%">
100
+
101
+
102
+ <p><b>EINVAL</b></p></td>
103
+ <td width="2%"></td>
104
+ <td width="78%">
105
+
106
+
107
+ <p>The conversion from <i>fromcode</i> to <i>tocode</i> is
108
+ not supported by the implementation.</p></td></tr>
109
+ </table>
110
+
111
+ <h2>CONFORMING TO
112
+ <a name="CONFORMING TO"></a>
113
+ </h2>
114
+
115
+
116
+ <p style="margin-left:11%; margin-top: 1em">This function
117
+ is implemented only in GNU libiconv and not in other
118
+ <b>iconv</b> implementations. It is not backed by a
119
+ standard. You can test for its presence through
120
+ <b>(_LIBICONV_VERSION &gt;= 0x010D)</b>.</p>
121
+
122
+ <h2>SEE ALSO
123
+ <a name="SEE ALSO"></a>
124
+ </h2>
125
+
126
+
127
+
128
+ <p style="margin-left:11%; margin-top: 1em"><b>iconv_open</b>(3)
129
+ <b>iconv</b>(3)</p>
130
+ <hr>
131
+ </body>
132
+ </html>
@@ -0,0 +1,170 @@
1
+ <!-- Creator : groff version 1.22.3 -->
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
3
+ "http://www.w3.org/TR/html4/loose.dtd">
4
+ <html>
5
+ <head>
6
+ <meta name="generator" content="groff -Thtml, see www.gnu.org">
7
+ <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
8
+ <meta name="Content-Style" content="text/css">
9
+ <style type="text/css">
10
+ p { margin-top: 0; margin-bottom: 0; vertical-align: top }
11
+ pre { margin-top: 0; margin-bottom: 0; vertical-align: top }
12
+ table { margin-top: 0; margin-bottom: 0; vertical-align: top }
13
+ h1 { text-align: center }
14
+ </style>
15
+ <title>ICONVCTL</title>
16
+
17
+ </head>
18
+ <body>
19
+
20
+ <h1 align="center">ICONVCTL</h1>
21
+
22
+ <a href="#NAME">NAME</a><br>
23
+ <a href="#SYNOPSIS">SYNOPSIS</a><br>
24
+ <a href="#DESCRIPTION">DESCRIPTION</a><br>
25
+ <a href="#REQUEST VALUES">REQUEST VALUES</a><br>
26
+ <a href="#RETURN VALUE">RETURN VALUE</a><br>
27
+ <a href="#ERRORS">ERRORS</a><br>
28
+ <a href="#CONFORMING TO">CONFORMING TO</a><br>
29
+ <a href="#SEE ALSO">SEE ALSO</a><br>
30
+
31
+ <hr>
32
+
33
+
34
+ <h2>NAME
35
+ <a name="NAME"></a>
36
+ </h2>
37
+
38
+
39
+ <p style="margin-left:11%; margin-top: 1em">iconvctl
40
+ &minus; control iconv behavior</p>
41
+
42
+ <h2>SYNOPSIS
43
+ <a name="SYNOPSIS"></a>
44
+ </h2>
45
+
46
+
47
+ <p style="margin-left:11%; margin-top: 1em"><b>#include
48
+ &lt;iconv.h&gt;</b></p>
49
+
50
+ <p style="margin-left:11%; margin-top: 1em"><b>int iconvctl
51
+ (iconv_t</b> <i>cd</i> <b>, int</b> <i>request</i><b>, void
52
+ *</b> <i>argument</i><b>);</b></p>
53
+
54
+ <h2>DESCRIPTION
55
+ <a name="DESCRIPTION"></a>
56
+ </h2>
57
+
58
+
59
+ <p style="margin-left:11%; margin-top: 1em">The argument
60
+ <i>cd</i> must be a conversion descriptor created using the
61
+ function <b>iconv_open</b>.</p>
62
+
63
+
64
+ <p style="margin-left:11%; margin-top: 1em"><b>iconvctl</b>
65
+ queries or adjusts the behavior of the <b>iconv</b>
66
+ function, when invoked with the specified conversion
67
+ descriptor, depending on the request value.</p>
68
+
69
+ <h2>REQUEST VALUES
70
+ <a name="REQUEST VALUES"></a>
71
+ </h2>
72
+
73
+
74
+ <p style="margin-left:11%; margin-top: 1em">The following
75
+ are permissible values for the <i>request</i> parameter.
76
+ <b><br>
77
+ ICONV_TRIVIALP</b></p>
78
+
79
+ <p style="margin-left:22%;"><i>argument</i> should be an
80
+ <b>int *</b> which will receive 1 if the conversion is
81
+ trivial, or 0 otherwise.</p>
82
+
83
+
84
+ <p style="margin-left:11%;"><b>ICONV_GET_TRANSLITERATE</b></p>
85
+
86
+ <p style="margin-left:22%;"><i>argument</i> should be an
87
+ <b>int *</b> which will receive 1 if transliteration is
88
+ enabled in the conversion, or 0 otherwise.</p>
89
+
90
+
91
+ <p style="margin-left:11%;"><b>ICONV_SET_TRANSLITERATE</b></p>
92
+
93
+ <p style="margin-left:22%;"><i>argument</i> should be a
94
+ <b>const int *</b>, pointing to an <b>int</b> value. A
95
+ non-zero value is used to enable transliteration in the
96
+ conversion. A zero value disables it.</p>
97
+
98
+
99
+ <p style="margin-left:11%;"><b>ICONV_GET_DISCARD_ILSEQ</b></p>
100
+
101
+ <p style="margin-left:22%;"><i>argument</i> should be an
102
+ <b>int *</b> which will receive 1 if &quot;illegal sequence
103
+ discard and continue&quot; is enabled in the conversion, or
104
+ 0 otherwise.</p>
105
+
106
+
107
+ <p style="margin-left:11%;"><b>ICONV_SET_DISCARD_ILSEQ</b></p>
108
+
109
+ <p style="margin-left:22%;"><i>argument</i> should be a
110
+ <b>const int *</b>, pointing to an <b>int</b> value. A
111
+ non-zero value is used to enable &quot;illegal sequence
112
+ discard and continue&quot; in the conversion. A zero value
113
+ disables it.</p>
114
+
115
+ <h2>RETURN VALUE
116
+ <a name="RETURN VALUE"></a>
117
+ </h2>
118
+
119
+
120
+ <p style="margin-left:11%; margin-top: 1em">The
121
+ <b>iconvctl</b> function returns 0 if it succeeds. In case
122
+ of error, it sets <b>errno</b> and returns &minus;1.</p>
123
+
124
+ <h2>ERRORS
125
+ <a name="ERRORS"></a>
126
+ </h2>
127
+
128
+
129
+ <p style="margin-left:11%; margin-top: 1em">The following
130
+ errors can occur, among others:</p>
131
+
132
+ <table width="100%" border="0" rules="none" frame="void"
133
+ cellspacing="0" cellpadding="0">
134
+ <tr valign="top" align="left">
135
+ <td width="11%"></td>
136
+ <td width="9%">
137
+
138
+
139
+ <p><b>EINVAL</b></p></td>
140
+ <td width="2%"></td>
141
+ <td width="35%">
142
+
143
+
144
+ <p>The request is invalid.</p></td>
145
+ <td width="43%">
146
+ </td></tr>
147
+ </table>
148
+
149
+ <h2>CONFORMING TO
150
+ <a name="CONFORMING TO"></a>
151
+ </h2>
152
+
153
+
154
+ <p style="margin-left:11%; margin-top: 1em">This function
155
+ is implemented only in GNU libiconv and not in other
156
+ <b>iconv</b> implementations. It is not backed by a
157
+ standard. You can test for its presence through
158
+ <b>(_LIBICONV_VERSION &gt;= 0x0108)</b>.</p>
159
+
160
+ <h2>SEE ALSO
161
+ <a name="SEE ALSO"></a>
162
+ </h2>
163
+
164
+
165
+
166
+ <p style="margin-left:11%; margin-top: 1em"><b>iconv_open</b>(3)
167
+ <b>iconv</b>(3)</p>
168
+ <hr>
169
+ </body>
170
+ </html>