@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,45 @@
1
+ /* Copyright (C) 2003 Free Software Foundation, Inc.
2
+ This file is part of the GNU CHARSET Library.
3
+
4
+ The GNU CHARSET Library is free software; you can redistribute it and/or
5
+ modify it under the terms of the GNU Lesser General Public License as
6
+ published by the Free Software Foundation; either version 2 of the
7
+ License, or (at your option) any later version.
8
+
9
+ The GNU CHARSET Library is distributed in the hope that it will be useful,
10
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
+ Lesser General Public License for more details.
13
+
14
+ You should have received a copy of the GNU Lesser General Public License
15
+ along with the GNU CHARSET Library; see the file COPYING.LIB. If not,
16
+ see <https://www.gnu.org/licenses/>. */
17
+
18
+ #ifndef _LIBCHARSET_H
19
+ #define _LIBCHARSET_H
20
+
21
+ #include <localcharset.h>
22
+
23
+
24
+ #ifdef __cplusplus
25
+ extern "C" {
26
+ #endif
27
+
28
+
29
+ /* Support for relocatable packages. */
30
+
31
+ /* Sets the original and the current installation prefix of the package.
32
+ Relocation simply replaces a pathname starting with the original prefix
33
+ by the corresponding pathname with the current prefix instead. Both
34
+ prefixes should be directory names without trailing slash (i.e. use ""
35
+ instead of "/"). */
36
+ extern void libcharset_set_relocation_prefix (const char *orig_prefix,
37
+ const char *curr_prefix);
38
+
39
+
40
+ #ifdef __cplusplus
41
+ }
42
+ #endif
43
+
44
+
45
+ #endif /* _LIBCHARSET_H */
@@ -0,0 +1,137 @@
1
+ /* Determine a canonical name for the current locale's character encoding.
2
+ Copyright (C) 2000-2003, 2009-2019 Free Software Foundation, Inc.
3
+ This file is part of the GNU CHARSET Library.
4
+
5
+ This program is free software; you can redistribute it and/or modify it
6
+ under the terms of the GNU Lesser General Public License as published
7
+ by the Free Software Foundation; either version 2, or (at your option)
8
+ any later version.
9
+
10
+ This program is distributed in the hope that it will be useful,
11
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
12
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
+ Lesser General Public License for more details.
14
+
15
+ You should have received a copy of the GNU Lesser General Public License
16
+ along with this program; if not, see <https://www.gnu.org/licenses/>. */
17
+
18
+ #ifndef _LOCALCHARSET_H
19
+ #define _LOCALCHARSET_H
20
+
21
+
22
+ #ifdef __cplusplus
23
+ extern "C" {
24
+ #endif
25
+
26
+
27
+ /* Determine the current locale's character encoding, and canonicalize it
28
+ into one of the canonical names listed below.
29
+ The result must not be freed; it is statically allocated. The result
30
+ becomes invalid when setlocale() is used to change the global locale, or
31
+ when the value of one of the environment variables LC_ALL, LC_CTYPE, LANG
32
+ is changed; threads in multithreaded programs should not do this.
33
+ If the canonical name cannot be determined, the result is a non-canonical
34
+ name. */
35
+ extern const char * locale_charset (void);
36
+
37
+ /* About GNU canonical names for character encodings:
38
+
39
+ Every canonical name must be supported by GNU libiconv. Support by GNU libc
40
+ is also desirable.
41
+
42
+ The name is case insensitive. Usually an upper case MIME charset name is
43
+ preferred.
44
+
45
+ The current list of these GNU canonical names is:
46
+
47
+ name MIME? used by which systems
48
+ (darwin = Mac OS X, windows = native Windows)
49
+
50
+ ASCII, ANSI_X3.4-1968 glibc solaris freebsd netbsd darwin minix cygwin
51
+ ISO-8859-1 Y glibc aix hpux irix osf solaris freebsd netbsd openbsd darwin cygwin zos
52
+ ISO-8859-2 Y glibc aix hpux irix osf solaris freebsd netbsd openbsd darwin cygwin zos
53
+ ISO-8859-3 Y glibc solaris cygwin
54
+ ISO-8859-4 Y hpux osf solaris freebsd netbsd openbsd darwin
55
+ ISO-8859-5 Y glibc aix hpux irix osf solaris freebsd netbsd openbsd darwin cygwin zos
56
+ ISO-8859-6 Y glibc aix hpux solaris cygwin
57
+ ISO-8859-7 Y glibc aix hpux irix osf solaris freebsd netbsd openbsd darwin cygwin zos
58
+ ISO-8859-8 Y glibc aix hpux osf solaris cygwin zos
59
+ ISO-8859-9 Y glibc aix hpux irix osf solaris freebsd darwin cygwin zos
60
+ ISO-8859-13 glibc hpux solaris freebsd netbsd openbsd darwin cygwin
61
+ ISO-8859-14 glibc cygwin
62
+ ISO-8859-15 glibc aix irix osf solaris freebsd netbsd openbsd darwin cygwin
63
+ KOI8-R Y glibc hpux solaris freebsd netbsd openbsd darwin
64
+ KOI8-U Y glibc freebsd netbsd openbsd darwin cygwin
65
+ KOI8-T glibc
66
+ CP437 dos
67
+ CP775 dos
68
+ CP850 aix osf dos
69
+ CP852 dos
70
+ CP855 dos
71
+ CP856 aix
72
+ CP857 dos
73
+ CP861 dos
74
+ CP862 dos
75
+ CP864 dos
76
+ CP865 dos
77
+ CP866 freebsd netbsd openbsd darwin dos
78
+ CP869 dos
79
+ CP874 windows dos
80
+ CP922 aix
81
+ CP932 aix cygwin windows dos
82
+ CP943 aix zos
83
+ CP949 osf darwin windows dos
84
+ CP950 windows dos
85
+ CP1046 aix
86
+ CP1124 aix
87
+ CP1125 dos
88
+ CP1129 aix
89
+ CP1131 freebsd darwin
90
+ CP1250 windows
91
+ CP1251 glibc hpux solaris freebsd netbsd openbsd darwin cygwin windows
92
+ CP1252 aix windows
93
+ CP1253 windows
94
+ CP1254 windows
95
+ CP1255 glibc windows
96
+ CP1256 windows
97
+ CP1257 windows
98
+ GB2312 Y glibc aix hpux irix solaris freebsd netbsd darwin cygwin zos
99
+ EUC-JP Y glibc aix hpux irix osf solaris freebsd netbsd darwin cygwin
100
+ EUC-KR Y glibc aix hpux irix osf solaris freebsd netbsd darwin cygwin zos
101
+ EUC-TW glibc aix hpux irix osf solaris netbsd
102
+ BIG5 Y glibc aix hpux osf solaris freebsd netbsd darwin cygwin zos
103
+ BIG5-HKSCS glibc hpux solaris netbsd darwin
104
+ GBK glibc aix osf solaris freebsd darwin cygwin windows dos
105
+ GB18030 glibc hpux solaris freebsd netbsd darwin
106
+ SHIFT_JIS Y hpux osf solaris freebsd netbsd darwin
107
+ JOHAB glibc solaris windows
108
+ TIS-620 glibc aix hpux osf solaris cygwin zos
109
+ VISCII Y glibc
110
+ TCVN5712-1 glibc
111
+ ARMSCII-8 glibc freebsd netbsd darwin
112
+ GEORGIAN-PS glibc cygwin
113
+ PT154 glibc netbsd cygwin
114
+ HP-ROMAN8 hpux
115
+ HP-ARABIC8 hpux
116
+ HP-GREEK8 hpux
117
+ HP-HEBREW8 hpux
118
+ HP-TURKISH8 hpux
119
+ HP-KANA8 hpux
120
+ DEC-KANJI osf
121
+ DEC-HANYU osf
122
+ UTF-8 Y glibc aix hpux osf solaris netbsd darwin cygwin zos
123
+
124
+ Note: Names which are not marked as being a MIME name should not be used in
125
+ Internet protocols for information interchange (mail, news, etc.).
126
+
127
+ Note: ASCII and ANSI_X3.4-1968 are synonymous canonical names. Applications
128
+ must understand both names and treat them as equivalent.
129
+ */
130
+
131
+
132
+ #ifdef __cplusplus
133
+ }
134
+ #endif
135
+
136
+
137
+ #endif /* _LOCALCHARSET_H */
@@ -0,0 +1,41 @@
1
+ # libcharset.la - a libtool library file
2
+ # Generated by libtool (GNU libtool) 2.4.7
3
+ #
4
+ # Please DO NOT delete this file!
5
+ # It is necessary for linking the library.
6
+
7
+ # The name that we can dlopen(3).
8
+ dlname=''
9
+
10
+ # Names of this library.
11
+ library_names=''
12
+
13
+ # The name of the static archive.
14
+ old_library='libcharset.a'
15
+
16
+ # Linker flags that cannot go in dependency_libs.
17
+ inherited_linker_flags=' '
18
+
19
+ # Libraries that this one depends upon.
20
+ dependency_libs=''
21
+
22
+ # Names of additional weak libraries provided by this library
23
+ weak_library_names=''
24
+
25
+ # Version information for libcharset.
26
+ current=1
27
+ age=0
28
+ revision=0
29
+
30
+ # Is this an already installed library?
31
+ installed=yes
32
+
33
+ # Should we warn about portability when linking against -modules?
34
+ shouldnotlink=no
35
+
36
+ # Files to dlopen/dlpreopen
37
+ dlopen=''
38
+ dlpreopen=''
39
+
40
+ # Directory that this library needs to be installed in:
41
+ libdir='/Users/bugra/Documents/cpp.js/packages/cppjs-package-iconv/.cppjs/build/Source-Release/prebuilt/iOS-iphoneos/lib'
@@ -0,0 +1,41 @@
1
+ # libiconv.la - a libtool library file
2
+ # Generated by libtool (GNU libtool) 2.4.7
3
+ #
4
+ # Please DO NOT delete this file!
5
+ # It is necessary for linking the library.
6
+
7
+ # The name that we can dlopen(3).
8
+ dlname=''
9
+
10
+ # Names of this library.
11
+ library_names=''
12
+
13
+ # The name of the static archive.
14
+ old_library='libiconv.a'
15
+
16
+ # Linker flags that cannot go in dependency_libs.
17
+ inherited_linker_flags=' '
18
+
19
+ # Libraries that this one depends upon.
20
+ dependency_libs=''
21
+
22
+ # Names of additional weak libraries provided by this library
23
+ weak_library_names=''
24
+
25
+ # Version information for libiconv.
26
+ current=8
27
+ age=6
28
+ revision=1
29
+
30
+ # Is this an already installed library?
31
+ installed=yes
32
+
33
+ # Should we warn about portability when linking against -modules?
34
+ shouldnotlink=no
35
+
36
+ # Files to dlopen/dlpreopen
37
+ dlopen=''
38
+ dlpreopen=''
39
+
40
+ # Directory that this library needs to be installed in:
41
+ libdir='/Users/bugra/Documents/cpp.js/packages/cppjs-package-iconv/.cppjs/build/Source-Release/prebuilt/iOS-iphoneos/lib'
@@ -0,0 +1,205 @@
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</title>
16
+
17
+ </head>
18
+ <body>
19
+
20
+ <h1 align="center">ICONV</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="#EXAMPLES">EXAMPLES</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 &minus;
38
+ character set conversion</p>
39
+
40
+ <h2>SYNOPSIS
41
+ <a name="SYNOPSIS"></a>
42
+ </h2>
43
+
44
+
45
+ <p style="margin-left:11%; margin-top: 1em">iconv
46
+ [<i>OPTION</i>...] [<b>&minus;f</b> <i>encoding</i>]
47
+ [<b>&minus;t</b> <i>encoding</i>] [<i>inputfile</i> ...]
48
+ <br>
49
+ iconv <b>&minus;l</b></p>
50
+
51
+ <h2>DESCRIPTION
52
+ <a name="DESCRIPTION"></a>
53
+ </h2>
54
+
55
+
56
+ <p style="margin-left:11%; margin-top: 1em">The
57
+ <b>iconv</b> program converts text from one encoding to
58
+ another encoding. More precisely, it converts <b>from</b>
59
+ the encoding given for the <b>&minus;f</b> option <b>to</b>
60
+ the encoding given for the <b>&minus;t</b> option. Either of
61
+ these encodings defaults to the encoding of the current
62
+ locale. All the <i>inputfile</i>s are read and converted in
63
+ turn; if no <i>inputfile</i> is given, the standard input is
64
+ used. The converted text is printed to standard output.</p>
65
+
66
+ <p style="margin-left:11%; margin-top: 1em">The encodings
67
+ permitted are system dependent. For the libiconv
68
+ implementation, they are listed in the iconv_open(3) manual
69
+ page.</p>
70
+
71
+ <p style="margin-left:11%; margin-top: 1em">Options
72
+ controlling the input and output format: <b><br>
73
+ &minus;f</b> <i>encoding</i>,
74
+ <b>&minus;&minus;from&minus;code=</b><i>encoding</i></p>
75
+
76
+ <p style="margin-left:22%;">Specifies the encoding of the
77
+ input.</p>
78
+
79
+ <p style="margin-left:11%;"><b>&minus;t</b>
80
+ <i>encoding</i>,
81
+ <b>&minus;&minus;to&minus;code=</b><i>encoding</i></p>
82
+
83
+ <p style="margin-left:22%;">Specifies the encoding of the
84
+ output.</p>
85
+
86
+ <p style="margin-left:11%; margin-top: 1em">Options
87
+ controlling conversion problems:</p>
88
+
89
+ <table width="100%" border="0" rules="none" frame="void"
90
+ cellspacing="0" cellpadding="0">
91
+ <tr valign="top" align="left">
92
+ <td width="11%"></td>
93
+ <td width="3%">
94
+
95
+
96
+ <p><b>&minus;c</b></p></td>
97
+ <td width="8%"></td>
98
+ <td width="78%">
99
+
100
+
101
+ <p>When this option is given, characters that cannot be
102
+ converted are silently discarded, instead of leading to a
103
+ conversion error.</p></td></tr>
104
+ </table>
105
+
106
+
107
+ <p style="margin-left:11%;"><b>&minus;&minus;unicode&minus;subst=</b><i>formatstring</i></p>
108
+
109
+ <p style="margin-left:22%;">When this option is given,
110
+ Unicode characters that cannot be represented in the target
111
+ encoding are replaced with a placeholder string that is
112
+ constructed from the given <i>formatstring</i>, applied to
113
+ the Unicode code point. The <i>formatstring</i> must be a
114
+ format string in the same format as for the <i>printf</i>
115
+ command or the <i>printf()</i> function, taking either no
116
+ argument or exactly one unsigned integer argument.</p>
117
+
118
+
119
+ <p style="margin-left:11%;"><b>&minus;&minus;byte&minus;subst=</b><i>formatstring</i></p>
120
+
121
+ <p style="margin-left:22%;">When this option is given,
122
+ bytes in the input that are not valid in the source encoding
123
+ are replaced with a placeholder string that is constructed
124
+ from the given <i>formatstring</i>, applied to the
125
+ byte&rsquo;s value. The <i>formatstring</i> must be a format
126
+ string in the same format as for the <i>printf</i> command
127
+ or the <i>printf()</i> function, taking either no argument
128
+ or exactly one unsigned integer argument.</p>
129
+
130
+
131
+ <p style="margin-left:11%;"><b>&minus;&minus;widechar&minus;subst=</b><i>formatstring</i></p>
132
+
133
+ <p style="margin-left:22%;">When this option is given, wide
134
+ characters in the input that are not valid in the source
135
+ encoding are replaced with a placeholder string that is
136
+ constructed from the given <i>formatstring</i>, applied to
137
+ the byte&rsquo;s value. The <i>formatstring</i> must be a
138
+ format string in the same format as for the <i>printf</i>
139
+ command or the <i>printf()</i> function, taking either no
140
+ argument or exactly one unsigned integer argument.</p>
141
+
142
+ <p style="margin-left:11%; margin-top: 1em">Options
143
+ controlling error output: <b><br>
144
+ &minus;s</b>, <b>&minus;&minus;silent</b></p>
145
+
146
+ <p style="margin-left:22%;">When this option is given,
147
+ error messages about invalid or unconvertible characters are
148
+ omitted, but the actual converted text is unaffected.</p>
149
+
150
+ <p style="margin-left:11%; margin-top: 1em">The <b>iconv
151
+ &minus;l</b> or <b>iconv &minus;&minus;list</b> command
152
+ lists the names of the supported encodings, in a system
153
+ dependent format. For the libiconv implementation, the names
154
+ are printed in upper case, separated by whitespace, and
155
+ alias names of an encoding are listed on the same line as
156
+ the encoding itself.</p>
157
+
158
+ <h2>EXAMPLES
159
+ <a name="EXAMPLES"></a>
160
+ </h2>
161
+
162
+
163
+ <p style="margin-left:11%; margin-top: 1em"><b>iconv
164
+ &minus;f ISO&minus;8859&minus;1 &minus;t UTF&minus;8</b></p>
165
+
166
+ <p style="margin-left:22%;">converts input from the old
167
+ West-European encoding ISO&minus;8859&minus;1 to
168
+ Unicode.</p>
169
+
170
+ <p style="margin-left:11%; margin-top: 1em"><b>iconv
171
+ &minus;f KOI8&minus;R
172
+ &minus;&minus;byte&minus;subst=&quot;&lt;0x%x&gt;&quot; <br>
173
+
174
+ &minus;&minus;unicode&minus;subst=&quot;&lt;U+%04X&gt;&quot;</b></p>
175
+
176
+ <p style="margin-left:22%;">converts input from the old
177
+ Russian encoding KOI8&minus;R to the locale encoding,
178
+ substituting an angle bracket notation with hexadecimal
179
+ numbers for invalid bytes and for valid but unconvertible
180
+ characters.</p>
181
+
182
+ <p style="margin-left:11%;"><b>iconv
183
+ &minus;&minus;list</b></p>
184
+
185
+ <p style="margin-left:22%;">lists the supported
186
+ encodings.</p>
187
+
188
+ <h2>CONFORMING TO
189
+ <a name="CONFORMING TO"></a>
190
+ </h2>
191
+
192
+
193
+ <p style="margin-left:11%; margin-top: 1em">POSIX:2001</p>
194
+
195
+ <h2>SEE ALSO
196
+ <a name="SEE ALSO"></a>
197
+ </h2>
198
+
199
+
200
+
201
+ <p style="margin-left:11%; margin-top: 1em"><b>iconv_open</b>(3),
202
+ <b>locale</b>(7)</p>
203
+ <hr>
204
+ </body>
205
+ </html>
@@ -0,0 +1,206 @@
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</title>
16
+
17
+ </head>
18
+ <body>
19
+
20
+ <h1 align="center">ICONV</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 &minus;
39
+ perform 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>size_t iconv
50
+ (iconv_t</b> <i>cd</i><b>, <br>
51
+ const char* *</b> <i>inbuf</i><b>, size_t *</b>
52
+ <i>inbytesleft</i><b>, <br>
53
+ char* *</b> <i>outbuf</i><b>, size_t *</b>
54
+ <i>outbytesleft</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 argument
62
+ <i>cd</i> must be a conversion descriptor created using the
63
+ function <b>iconv_open</b>.</p>
64
+
65
+ <p style="margin-left:11%; margin-top: 1em">The main case
66
+ is when <i>inbuf</i> is not NULL and <i>*inbuf</i> is not
67
+ NULL. In this case, the <b>iconv</b> function converts the
68
+ multibyte sequence starting at <i>*inbuf</i> to a multibyte
69
+ sequence starting at <i>*outbuf</i>. At most
70
+ <i>*inbytesleft</i> bytes, starting at <i>*inbuf</i>, will
71
+ be read. At most <i>*outbytesleft</i> bytes, starting at
72
+ <i>*outbuf</i>, will be written.</p>
73
+
74
+ <p style="margin-left:11%; margin-top: 1em">The
75
+ <b>iconv</b> function converts one multibyte character at a
76
+ time, and for each character conversion it increments
77
+ <i>*inbuf</i> and decrements <i>*inbytesleft</i> by the
78
+ number of converted input bytes, it increments
79
+ <i>*outbuf</i> and decrements <i>*outbytesleft</i> by the
80
+ number of converted output bytes, and it updates the
81
+ conversion state contained in <i>cd</i>. If the character
82
+ encoding of the input is stateful, the <b>iconv</b> function
83
+ can also convert a sequence of input bytes to an update of
84
+ the conversion state without producing any output bytes;
85
+ such input is called a <i>shift sequence</i>. The conversion
86
+ can stop for four reasons:</p>
87
+
88
+ <p style="margin-left:11%; margin-top: 1em">1. An invalid
89
+ multibyte sequence is encountered in the input. In this case
90
+ it sets <b>errno</b> to <b>EILSEQ</b> and returns
91
+ (size_t)(&minus;1). <i>*inbuf</i> is left pointing to the
92
+ beginning of the invalid multibyte sequence.</p>
93
+
94
+ <p style="margin-left:11%; margin-top: 1em">2. The input
95
+ byte sequence has been entirely converted, i.e.
96
+ <i>*inbytesleft</i> has gone down to 0. In this case
97
+ <b>iconv</b> returns the number of non-reversible
98
+ conversions performed during this call.</p>
99
+
100
+ <p style="margin-left:11%; margin-top: 1em">3. An
101
+ incomplete multibyte sequence is encountered in the input,
102
+ and the input byte sequence terminates after it. In this
103
+ case it sets <b>errno</b> to <b>EINVAL</b> and returns
104
+ (size_t)(&minus;1). <i>*inbuf</i> is left pointing to the
105
+ beginning of the incomplete multibyte sequence.</p>
106
+
107
+ <p style="margin-left:11%; margin-top: 1em">4. The output
108
+ buffer has no more room for the next converted character. In
109
+ this case it sets <b>errno</b> to <b>E2BIG</b> and returns
110
+ (size_t)(&minus;1).</p>
111
+
112
+ <p style="margin-left:11%; margin-top: 1em">A different
113
+ case is when <i>inbuf</i> is NULL or <i>*inbuf</i> is NULL,
114
+ but <i>outbuf</i> is not NULL and <i>*outbuf</i> is not
115
+ NULL. In this case, the <b>iconv</b> function attempts to
116
+ set <i>cd</i>&rsquo;s conversion state to the initial state
117
+ and store a corresponding shift sequence at <i>*outbuf</i>.
118
+ At most <i>*outbytesleft</i> bytes, starting at
119
+ <i>*outbuf</i>, will be written. If the output buffer has no
120
+ more room for this reset sequence, it sets <b>errno</b> to
121
+ <b>E2BIG</b> and returns (size_t)(&minus;1). Otherwise it
122
+ increments <i>*outbuf</i> and decrements
123
+ <i>*outbytesleft</i> by the number of bytes written.</p>
124
+
125
+ <p style="margin-left:11%; margin-top: 1em">A third case is
126
+ when <i>inbuf</i> is NULL or <i>*inbuf</i> is NULL, and
127
+ <i>outbuf</i> is NULL or <i>*outbuf</i> is NULL. In this
128
+ case, the <b>iconv</b> function sets <i>cd</i>&rsquo;s
129
+ conversion state to the initial state.</p>
130
+
131
+ <h2>RETURN VALUE
132
+ <a name="RETURN VALUE"></a>
133
+ </h2>
134
+
135
+
136
+ <p style="margin-left:11%; margin-top: 1em">The
137
+ <b>iconv</b> function returns the number of characters
138
+ converted in a non-reversible way during this call;
139
+ reversible conversions are not counted. In case of error, it
140
+ sets <b>errno</b> and returns (size_t)(&minus;1).</p>
141
+
142
+ <h2>ERRORS
143
+ <a name="ERRORS"></a>
144
+ </h2>
145
+
146
+
147
+ <p style="margin-left:11%; margin-top: 1em">The following
148
+ errors can occur, among others:</p>
149
+
150
+ <table width="100%" border="0" rules="none" frame="void"
151
+ cellspacing="0" cellpadding="0">
152
+ <tr valign="top" align="left">
153
+ <td width="11%"></td>
154
+ <td width="9%">
155
+
156
+
157
+ <p><b>E2BIG</b></p></td>
158
+ <td width="2%"></td>
159
+ <td width="78%">
160
+
161
+
162
+ <p>There is not sufficient room at <i>*outbuf</i>.</p></td></tr>
163
+ <tr valign="top" align="left">
164
+ <td width="11%"></td>
165
+ <td width="9%">
166
+
167
+
168
+ <p><b>EILSEQ</b></p></td>
169
+ <td width="2%"></td>
170
+ <td width="78%">
171
+
172
+
173
+ <p>An invalid multibyte sequence has been encountered in
174
+ the input.</p></td></tr>
175
+ <tr valign="top" align="left">
176
+ <td width="11%"></td>
177
+ <td width="9%">
178
+
179
+
180
+ <p><b>EINVAL</b></p></td>
181
+ <td width="2%"></td>
182
+ <td width="78%">
183
+
184
+
185
+ <p>An incomplete multibyte sequence has been encountered in
186
+ the input.</p></td></tr>
187
+ </table>
188
+
189
+ <h2>CONFORMING TO
190
+ <a name="CONFORMING TO"></a>
191
+ </h2>
192
+
193
+
194
+ <p style="margin-left:11%; margin-top: 1em">POSIX:2001</p>
195
+
196
+ <h2>SEE ALSO
197
+ <a name="SEE ALSO"></a>
198
+ </h2>
199
+
200
+
201
+
202
+ <p style="margin-left:11%; margin-top: 1em"><b>iconv_open</b>(3),
203
+ <b>iconvctl</b>(3) <b>iconv_close</b>(3)</p>
204
+ <hr>
205
+ </body>
206
+ </html>