@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.
- package/LICENSE +502 -0
- package/README.md +47 -0
- package/cppjs-package-iconv.podspec +13 -0
- package/cppjs.build.js +14 -0
- package/cppjs.config.js +18 -0
- package/dist/prebuilt/Android-arm64-v8a/include/iconv.h +241 -0
- package/dist/prebuilt/Android-arm64-v8a/include/libcharset.h +45 -0
- package/dist/prebuilt/Android-arm64-v8a/include/localcharset.h +137 -0
- package/dist/prebuilt/Android-arm64-v8a/lib/libcharset.la +41 -0
- package/dist/prebuilt/Android-arm64-v8a/lib/libcharset.so +0 -0
- package/dist/prebuilt/Android-arm64-v8a/lib/libiconv.la +41 -0
- package/dist/prebuilt/Android-arm64-v8a/lib/libiconv.so +0 -0
- package/dist/prebuilt/Android-arm64-v8a/share/doc/iconv.1.html +205 -0
- package/dist/prebuilt/Android-arm64-v8a/share/doc/iconv.3.html +206 -0
- package/dist/prebuilt/Android-arm64-v8a/share/doc/iconv_close.3.html +89 -0
- package/dist/prebuilt/Android-arm64-v8a/share/doc/iconv_open.3.html +345 -0
- package/dist/prebuilt/Android-arm64-v8a/share/doc/iconv_open_into.3.html +132 -0
- package/dist/prebuilt/Android-arm64-v8a/share/doc/iconvctl.3.html +170 -0
- package/dist/prebuilt/Android-arm64-v8a/share/man/man1/iconv.1 +108 -0
- package/dist/prebuilt/Android-arm64-v8a/share/man/man3/iconv.3 +92 -0
- package/dist/prebuilt/Android-arm64-v8a/share/man/man3/iconv_close.3 +31 -0
- package/dist/prebuilt/Android-arm64-v8a/share/man/man3/iconv_open.3 +254 -0
- package/dist/prebuilt/Android-arm64-v8a/share/man/man3/iconv_open_into.3 +47 -0
- package/dist/prebuilt/Android-arm64-v8a/share/man/man3/iconvctl.3 +67 -0
- package/dist/prebuilt/CMakeLists.txt +44 -0
- package/dist/prebuilt/Emscripten-x86_64/include/iconv.h +241 -0
- package/dist/prebuilt/Emscripten-x86_64/include/libcharset.h +45 -0
- package/dist/prebuilt/Emscripten-x86_64/include/localcharset.h +137 -0
- package/dist/prebuilt/Emscripten-x86_64/lib/libcharset.a +0 -0
- package/dist/prebuilt/Emscripten-x86_64/lib/libcharset.la +41 -0
- package/dist/prebuilt/Emscripten-x86_64/lib/libiconv.a +0 -0
- package/dist/prebuilt/Emscripten-x86_64/lib/libiconv.la +41 -0
- package/dist/prebuilt/Emscripten-x86_64/share/doc/iconv.1.html +205 -0
- package/dist/prebuilt/Emscripten-x86_64/share/doc/iconv.3.html +206 -0
- package/dist/prebuilt/Emscripten-x86_64/share/doc/iconv_close.3.html +89 -0
- package/dist/prebuilt/Emscripten-x86_64/share/doc/iconv_open.3.html +345 -0
- package/dist/prebuilt/Emscripten-x86_64/share/doc/iconv_open_into.3.html +132 -0
- package/dist/prebuilt/Emscripten-x86_64/share/doc/iconvctl.3.html +170 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/af/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/bg/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/ca/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/cs/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/da/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/de/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/el/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/eo/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/es/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/et/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/fi/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/fr/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/ga/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/gl/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/hr/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/hu/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/id/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/it/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/ja/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/ko/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/lt/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/nl/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/pl/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/pt_BR/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/rm/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/ro/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/ru/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/sk/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/sl/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/sq/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/sr/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/sv/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/tr/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/uk/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/vi/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/wa/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/zh_CN/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/locale/zh_TW/LC_MESSAGES/libiconv.mo +0 -0
- package/dist/prebuilt/Emscripten-x86_64/share/man/man1/iconv.1 +108 -0
- package/dist/prebuilt/Emscripten-x86_64/share/man/man3/iconv.3 +92 -0
- package/dist/prebuilt/Emscripten-x86_64/share/man/man3/iconv_close.3 +31 -0
- package/dist/prebuilt/Emscripten-x86_64/share/man/man3/iconv_open.3 +254 -0
- package/dist/prebuilt/Emscripten-x86_64/share/man/man3/iconv_open_into.3 +47 -0
- package/dist/prebuilt/Emscripten-x86_64/share/man/man3/iconvctl.3 +67 -0
- package/dist/prebuilt/charset.xcframework/Info.plist +50 -0
- package/dist/prebuilt/charset.xcframework/ios-arm64_arm64e/Headers/iconv.h +241 -0
- package/dist/prebuilt/charset.xcframework/ios-arm64_arm64e/Headers/libcharset.h +45 -0
- package/dist/prebuilt/charset.xcframework/ios-arm64_arm64e/Headers/localcharset.h +137 -0
- package/dist/prebuilt/charset.xcframework/ios-arm64_arm64e/libcharset.a +0 -0
- package/dist/prebuilt/charset.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/iconv.h +241 -0
- package/dist/prebuilt/charset.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/libcharset.h +45 -0
- package/dist/prebuilt/charset.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/localcharset.h +137 -0
- package/dist/prebuilt/charset.xcframework/ios-arm64_arm64e_x86_64-simulator/libcharset.a +0 -0
- package/dist/prebuilt/iOS-iphoneos/include/iconv.h +241 -0
- package/dist/prebuilt/iOS-iphoneos/include/libcharset.h +45 -0
- package/dist/prebuilt/iOS-iphoneos/include/localcharset.h +137 -0
- package/dist/prebuilt/iOS-iphoneos/lib/libcharset.a +0 -0
- package/dist/prebuilt/iOS-iphoneos/lib/libcharset.la +41 -0
- package/dist/prebuilt/iOS-iphoneos/lib/libiconv.a +0 -0
- package/dist/prebuilt/iOS-iphoneos/lib/libiconv.la +41 -0
- package/dist/prebuilt/iOS-iphoneos/share/doc/iconv.1.html +205 -0
- package/dist/prebuilt/iOS-iphoneos/share/doc/iconv.3.html +206 -0
- package/dist/prebuilt/iOS-iphoneos/share/doc/iconv_close.3.html +89 -0
- package/dist/prebuilt/iOS-iphoneos/share/doc/iconv_open.3.html +345 -0
- package/dist/prebuilt/iOS-iphoneos/share/doc/iconv_open_into.3.html +132 -0
- package/dist/prebuilt/iOS-iphoneos/share/doc/iconvctl.3.html +170 -0
- package/dist/prebuilt/iOS-iphoneos/share/man/man1/iconv.1 +108 -0
- package/dist/prebuilt/iOS-iphoneos/share/man/man3/iconv.3 +92 -0
- package/dist/prebuilt/iOS-iphoneos/share/man/man3/iconv_close.3 +31 -0
- package/dist/prebuilt/iOS-iphoneos/share/man/man3/iconv_open.3 +254 -0
- package/dist/prebuilt/iOS-iphoneos/share/man/man3/iconv_open_into.3 +47 -0
- package/dist/prebuilt/iOS-iphoneos/share/man/man3/iconvctl.3 +67 -0
- package/dist/prebuilt/iOS-iphonesimulator/include/iconv.h +241 -0
- package/dist/prebuilt/iOS-iphonesimulator/include/libcharset.h +45 -0
- package/dist/prebuilt/iOS-iphonesimulator/include/localcharset.h +137 -0
- package/dist/prebuilt/iOS-iphonesimulator/lib/libcharset.a +0 -0
- package/dist/prebuilt/iOS-iphonesimulator/lib/libcharset.la +41 -0
- package/dist/prebuilt/iOS-iphonesimulator/lib/libiconv.a +0 -0
- package/dist/prebuilt/iOS-iphonesimulator/lib/libiconv.la +41 -0
- package/dist/prebuilt/iOS-iphonesimulator/share/doc/iconv.1.html +205 -0
- package/dist/prebuilt/iOS-iphonesimulator/share/doc/iconv.3.html +206 -0
- package/dist/prebuilt/iOS-iphonesimulator/share/doc/iconv_close.3.html +89 -0
- package/dist/prebuilt/iOS-iphonesimulator/share/doc/iconv_open.3.html +345 -0
- package/dist/prebuilt/iOS-iphonesimulator/share/doc/iconv_open_into.3.html +132 -0
- package/dist/prebuilt/iOS-iphonesimulator/share/doc/iconvctl.3.html +170 -0
- package/dist/prebuilt/iOS-iphonesimulator/share/man/man1/iconv.1 +108 -0
- package/dist/prebuilt/iOS-iphonesimulator/share/man/man3/iconv.3 +92 -0
- package/dist/prebuilt/iOS-iphonesimulator/share/man/man3/iconv_close.3 +31 -0
- package/dist/prebuilt/iOS-iphonesimulator/share/man/man3/iconv_open.3 +254 -0
- package/dist/prebuilt/iOS-iphonesimulator/share/man/man3/iconv_open_into.3 +47 -0
- package/dist/prebuilt/iOS-iphonesimulator/share/man/man3/iconvctl.3 +67 -0
- package/dist/prebuilt/iconv.xcframework/Info.plist +50 -0
- package/dist/prebuilt/iconv.xcframework/ios-arm64_arm64e/Headers/iconv.h +241 -0
- package/dist/prebuilt/iconv.xcframework/ios-arm64_arm64e/Headers/libcharset.h +45 -0
- package/dist/prebuilt/iconv.xcframework/ios-arm64_arm64e/Headers/localcharset.h +137 -0
- package/dist/prebuilt/iconv.xcframework/ios-arm64_arm64e/libiconv.a +0 -0
- package/dist/prebuilt/iconv.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/iconv.h +241 -0
- package/dist/prebuilt/iconv.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/libcharset.h +45 -0
- package/dist/prebuilt/iconv.xcframework/ios-arm64_arm64e_x86_64-simulator/Headers/localcharset.h +137 -0
- package/dist/prebuilt/iconv.xcframework/ios-arm64_arm64e_x86_64-simulator/libiconv.a +0 -0
- package/package.json +28 -0
|
@@ -0,0 +1,89 @@
|
|
|
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_CLOSE</title>
|
|
16
|
+
|
|
17
|
+
</head>
|
|
18
|
+
<body>
|
|
19
|
+
|
|
20
|
+
<h1 align="center">ICONV_CLOSE</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="#CONFORMING TO">CONFORMING TO</a><br>
|
|
27
|
+
<a href="#SEE ALSO">SEE ALSO</a><br>
|
|
28
|
+
|
|
29
|
+
<hr>
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
<h2>NAME
|
|
33
|
+
<a name="NAME"></a>
|
|
34
|
+
</h2>
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
<p style="margin-left:11%; margin-top: 1em">iconv_close
|
|
38
|
+
− deallocate descriptor for character set
|
|
39
|
+
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
|
+
<iconv.h></b></p>
|
|
48
|
+
|
|
49
|
+
<p style="margin-left:11%; margin-top: 1em"><b>int
|
|
50
|
+
iconv_close (iconv_t</b> <i>cd</i><b>);</b></p>
|
|
51
|
+
|
|
52
|
+
<h2>DESCRIPTION
|
|
53
|
+
<a name="DESCRIPTION"></a>
|
|
54
|
+
</h2>
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
<p style="margin-left:11%; margin-top: 1em">The
|
|
58
|
+
<b>iconv_close</b> function deallocates a conversion
|
|
59
|
+
descriptor <i>cd</i> previously allocated using
|
|
60
|
+
<b>iconv_open</b>.</p>
|
|
61
|
+
|
|
62
|
+
<h2>RETURN VALUE
|
|
63
|
+
<a name="RETURN VALUE"></a>
|
|
64
|
+
</h2>
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
<p style="margin-left:11%; margin-top: 1em">When
|
|
68
|
+
successful, the <b>iconv_close</b> function returns 0. In
|
|
69
|
+
case of error, it sets <b>errno</b> and returns
|
|
70
|
+
−1.</p>
|
|
71
|
+
|
|
72
|
+
<h2>CONFORMING TO
|
|
73
|
+
<a name="CONFORMING TO"></a>
|
|
74
|
+
</h2>
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
<p style="margin-left:11%; margin-top: 1em">POSIX:2001</p>
|
|
78
|
+
|
|
79
|
+
<h2>SEE ALSO
|
|
80
|
+
<a name="SEE ALSO"></a>
|
|
81
|
+
</h2>
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
<p style="margin-left:11%; margin-top: 1em"><b>iconv_open</b>(3)
|
|
86
|
+
<b>iconv</b>(3)</p>
|
|
87
|
+
<hr>
|
|
88
|
+
</body>
|
|
89
|
+
</html>
|
|
@@ -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
|
+
− 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
|
+
<iconv.h></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−8859−{1,2,3,4,5,7,9,10,13,14,15,16},
|
|
73
|
+
KOI8−R, KOI8−U, KOI8−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−8859−{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−JP, SHIFT_JIS, CP932,
|
|
86
|
+
ISO−2022−JP, ISO−2022−JP−2,
|
|
87
|
+
ISO−2022−JP−1,
|
|
88
|
+
ISO-2022−JP−MS</p>
|
|
89
|
+
|
|
90
|
+
<p style="margin-left:11%;">Chinese</p>
|
|
91
|
+
|
|
92
|
+
<p style="margin-left:22%;">EUC−CN, HZ, GBK, CP936,
|
|
93
|
+
GB18030, EUC−TW, BIG5, CP950, BIG5−HKSCS,
|
|
94
|
+
BIG5−HKSCS:2004, BIG5−HKSCS:2001,
|
|
95
|
+
BIG5−HKSCS:1999, ISO−2022−CN,
|
|
96
|
+
ISO−2022−CN−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−KR, CP949, ISO−2022−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−8</p>
|
|
118
|
+
|
|
119
|
+
<p style="margin-left:11%;">Georgian</p>
|
|
120
|
+
|
|
121
|
+
<p style="margin-left:22%;">Georgian−Academy,
|
|
122
|
+
Georgian−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−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−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−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−ROMAN8, NEXTSTEP</p>
|
|
178
|
+
|
|
179
|
+
<p style="margin-left:11%;">Full Unicode</p>
|
|
180
|
+
|
|
181
|
+
<p style="margin-left:22%;">UTF−8 <br>
|
|
182
|
+
UCS−2, UCS−2BE, UCS−2LE <br>
|
|
183
|
+
UCS−4, UCS−4BE, UCS−4LE <br>
|
|
184
|
+
UTF−16, UTF−16BE, UTF−16LE <br>
|
|
185
|
+
UTF−32, UTF−32BE, UTF−32LE <br>
|
|
186
|
+
UTF−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−2−INTERNAL, UCS−4−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>−−enable−extra−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−JISX0213,
|
|
220
|
+
Shift_JISX0213, ISO−2022−JP−3</p>
|
|
221
|
+
|
|
222
|
+
<p style="margin-left:11%;">Chinese</p>
|
|
223
|
+
|
|
224
|
+
<p style="margin-left:22%;">BIG5−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−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 "" is equivalent to
|
|
265
|
+
"char": it denotes the locale dependent character
|
|
266
|
+
encoding.</p>
|
|
267
|
+
|
|
268
|
+
<p style="margin-left:11%; margin-top: 1em">When the string
|
|
269
|
+
"//TRANSLIT" 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
|
+
"//IGNORE" 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’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)(−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
|
+
− 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
|
+
<iconv.h></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 −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 >= 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>
|