Debian Codegraph @

templates/man3/iconv.3.pot

raw
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PACKAGE VERSION\n"
10 "POT-Creation-Date: 2026-06-05 06:27+0200\n"
11 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13 "Language-Team: LANGUAGE <[email protected]>\n"
14 "Language: \n"
15 "MIME-Version: 1.0\n"
16 "Content-Type: text/plain; charset=UTF-8\n"
17 "Content-Transfer-Encoding: 8bit\n"
18
19 #. type: TH
20 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
21 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
22 #, no-wrap
23 msgid "iconv"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
28 #: opensuse-tumbleweed
29 #, no-wrap
30 msgid "2026-02-08"
31 msgstr ""
32
33 #. type: TH
34 #: archlinux debian-unstable
35 #, no-wrap
36 msgid "Linux man-pages 6.18"
37 msgstr ""
38
39 #. type: SH
40 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
41 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
42 #, no-wrap
43 msgid "NAME"
44 msgstr ""
45
46 #. type: Plain text
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 msgid "iconv - perform character set conversion"
50 msgstr ""
51
52 #. type: SH
53 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
54 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
55 #, no-wrap
56 msgid "LIBRARY"
57 msgstr ""
58
59 #. type: Plain text
60 #: archlinux debian-unstable fedora-44 fedora-rawhide mageia-cauldron
61 #: opensuse-leap-16-1 opensuse-tumbleweed
62 msgid "Standard C library (I<libc>,\\ I<-lc>)"
63 msgstr ""
64
65 #. type: SH
66 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
67 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
68 #, no-wrap
69 msgid "SYNOPSIS"
70 msgstr ""
71
72 #. type: Plain text
73 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
74 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
75 #, no-wrap
76 msgid "B<#include E<lt>iconv.hE<gt>>\n"
77 msgstr ""
78
79 #. type: Plain text
80 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
81 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
82 #, no-wrap
83 msgid ""
84 "B<size_t iconv(iconv_t >I<cd>B<,>\n"
85 "B< char **restrict >I<inbuf>B<, size_t *restrict >I<inbytesleft>B<,>\n"
86 "B< char **restrict >I<outbuf>B<, size_t *restrict >I<outbytesleft>B<);>\n"
87 msgstr ""
88
89 #. type: SH
90 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
91 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
92 #, no-wrap
93 msgid "DESCRIPTION"
94 msgstr ""
95
96 #. type: Plain text
97 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
98 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
99 msgid ""
100 "The B<iconv>() function converts a sequence of characters in one character "
101 "encoding to a sequence of characters in another character encoding. The "
102 "I<cd> argument is a conversion descriptor, previously created by a call to "
103 "B<iconv_open>(3); the conversion descriptor defines the character encodings "
104 "that B<iconv>() uses for the conversion. The I<inbuf> argument is the "
105 "address of a variable that points to the first character of the input "
106 "sequence; I<inbytesleft> indicates the number of bytes in that buffer. The "
107 "I<outbuf> argument is the address of a variable that points to the first "
108 "byte available in the output buffer; I<outbytesleft> indicates the number of "
109 "bytes available in the output buffer."
110 msgstr ""
111
112 #. type: Plain text
113 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
114 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
115 msgid ""
116 "The main case is when I<inbuf> is not NULL and I<*inbuf> is not NULL. In "
117 "this case, the B<iconv>() function converts the multibyte sequence starting "
118 "at I<*inbuf> to a multibyte sequence starting at I<*outbuf>. At most "
119 "I<*inbytesleft> bytes, starting at I<*inbuf>, will be read. At most "
120 "I<*outbytesleft> bytes, starting at I<*outbuf>, will be written."
121 msgstr ""
122
123 #. type: Plain text
124 #: archlinux debian-unstable mageia-cauldron opensuse-leap-16-1
125 #: opensuse-tumbleweed
126 msgid ""
127 "The B<iconv>() function converts one multibyte character at a time, and for "
128 "each character conversion it increments I<*inbuf> and decrements "
129 "I<*inbytesleft> by the number of converted input bytes, it increments "
130 "I<*outbuf> and decrements I<*outbytesleft> by the number of converted output "
131 "bytes, and it updates the conversion state contained in I<cd>. If the "
132 "character encoding of the input is stateful, the B<iconv>() function can "
133 "also convert a sequence of input bytes to an update to the conversion state "
134 "without producing any output bytes; such input is called a I<shift\\ "
135 "sequence>. The conversion can stop for five reasons:"
136 msgstr ""
137
138 #. type: IP
139 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
140 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
141 #, no-wrap
142 msgid "\\[bu]"
143 msgstr ""
144
145 #. type: Plain text
146 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
147 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
148 msgid ""
149 "An invalid multibyte sequence is encountered in the input. In this case, it "
150 "sets I<errno> to B<EILSEQ> and returns I<(size_t)\\ -1>. I<*inbuf> is left "
151 "pointing to the beginning of the invalid multibyte sequence."
152 msgstr ""
153
154 #. type: Plain text
155 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
156 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
157 msgid ""
158 "A multibyte sequence is encountered that is valid but that cannot be "
159 "translated to the character encoding of the output. This condition depends "
160 "on the implementation and on the conversion descriptor. In the GNU C "
161 "library and GNU libiconv, if I<cd> was created without the suffix B<//"
162 "TRANSLIT> or B<//IGNORE>, the conversion is strict: lossy conversions "
163 "produce this condition. If the suffix B<//TRANSLIT> was specified, "
164 "transliteration can avoid this condition in some cases. In the musl C "
165 "library, this condition cannot occur because a conversion to B<\\[aq]*\\"
166 "[aq]> is used as a fallback. In the FreeBSD, NetBSD, and Solaris "
167 "implementations of B<iconv>(), this condition cannot occur either, because a "
168 "conversion to B<\\[aq]?\\[aq]> is used as a fallback. When this condition "
169 "is met, B<iconv>() sets I<errno> to B<EILSEQ> and returns I<(size_t)\\ "
170 "-1>. I<*inbuf> is left pointing to the beginning of the unconvertible "
171 "multibyte sequence."
172 msgstr ""
173
174 #. type: Plain text
175 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
176 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
177 msgid ""
178 "The input byte sequence has been entirely converted, that is, "
179 "I<*inbytesleft> has gone down to 0. In this case, B<iconv>() returns the "
180 "number of nonreversible conversions performed during this call."
181 msgstr ""
182
183 #. type: Plain text
184 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
185 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
186 msgid ""
187 "An incomplete multibyte sequence is encountered in the input, and the input "
188 "byte sequence terminates after it. In this case, it sets I<errno> to "
189 "B<EINVAL> and returns I<(size_t)\\ -1>. I<*inbuf> is left pointing to the "
190 "beginning of the incomplete multibyte sequence."
191 msgstr ""
192
193 #. type: Plain text
194 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
195 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
196 msgid ""
197 "The output buffer has no more room for the next converted character. In "
198 "this case, it sets I<errno> to B<E2BIG> and returns I<(size_t)\\ -1>."
199 msgstr ""
200
201 #. type: Plain text
202 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
203 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
204 msgid ""
205 "A different case is when I<inbuf> is NULL or I<*inbuf> is NULL, but "
206 "I<outbuf> is not NULL and I<*outbuf> is not NULL. In this case, the "
207 "B<iconv>() function attempts to set I<cd>'s conversion state to the initial "
208 "state and store a corresponding shift sequence at I<*outbuf>. At most "
209 "I<*outbytesleft> bytes, starting at I<*outbuf>, will be written. If the "
210 "output buffer has no more room for this reset sequence, it sets I<errno> to "
211 "B<E2BIG> and returns I<(size_t)\\ -1>. Otherwise, it increments I<*outbuf> "
212 "and decrements I<*outbytesleft> by the number of bytes written."
213 msgstr ""
214
215 #. type: Plain text
216 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
217 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
218 msgid ""
219 "A third case is when I<inbuf> is NULL or I<*inbuf> is NULL, and I<outbuf> is "
220 "NULL or I<*outbuf> is NULL. In this case, the B<iconv>() function sets "
221 "I<cd>'s conversion state to the initial state."
222 msgstr ""
223
224 #. type: SH
225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
227 #, no-wrap
228 msgid "RETURN VALUE"
229 msgstr ""
230
231 #. type: Plain text
232 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
233 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
234 msgid ""
235 "The B<iconv>() function returns the number of characters converted in a "
236 "nonreversible way during this call; reversible conversions are not counted. "
237 "In case of error, B<iconv>() returns I<(size_t)\\ -1> and sets I<errno> to "
238 "indicate the error."
239 msgstr ""
240
241 #. type: SH
242 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
243 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
244 #, no-wrap
245 msgid "ERRORS"
246 msgstr ""
247
248 #. type: Plain text
249 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
250 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
251 msgid "The following errors can occur, among others:"
252 msgstr ""
253
254 #. type: TP
255 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
256 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
257 #, no-wrap
258 msgid "B<E2BIG>"
259 msgstr ""
260
261 #. type: Plain text
262 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
263 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
264 msgid "There is not sufficient room at I<*outbuf>."
265 msgstr ""
266
267 #. type: TP
268 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
269 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
270 #, no-wrap
271 msgid "B<EILSEQ>"
272 msgstr ""
273
274 #. type: Plain text
275 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
276 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
277 msgid "An invalid multibyte sequence has been encountered in the input."
278 msgstr ""
279
280 #. type: TP
281 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
282 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
283 #, no-wrap
284 msgid "B<EINVAL>"
285 msgstr ""
286
287 #. type: Plain text
288 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
289 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
290 msgid "An incomplete multibyte sequence has been encountered in the input."
291 msgstr ""
292
293 #. type: SH
294 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
295 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
296 #, no-wrap
297 msgid "ATTRIBUTES"
298 msgstr ""
299
300 #. type: Plain text
301 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
302 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
303 msgid ""
304 "For an explanation of the terms used in this section, see B<attributes>(7)."
305 msgstr ""
306
307 #. type: tbl table
308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
310 #, no-wrap
311 msgid "Interface"
312 msgstr ""
313
314 #. type: tbl table
315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
317 #, no-wrap
318 msgid "Attribute"
319 msgstr ""
320
321 #. type: tbl table
322 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
323 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
324 #, no-wrap
325 msgid "Value"
326 msgstr ""
327
328 #. type: tbl table
329 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
330 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
331 #, no-wrap
332 msgid ".na\n"
333 msgstr ""
334
335 #. type: tbl table
336 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
337 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
338 #, no-wrap
339 msgid ".nh\n"
340 msgstr ""
341
342 #. type: tbl table
343 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
344 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
345 #, no-wrap
346 msgid "B<iconv>()"
347 msgstr ""
348
349 #. type: tbl table
350 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
351 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
352 #, no-wrap
353 msgid "Thread safety"
354 msgstr ""
355
356 #. type: tbl table
357 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
358 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
359 #, no-wrap
360 msgid "MT-Safe race:cd"
361 msgstr ""
362
363 #. type: Plain text
364 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
365 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
366 msgid ""
367 "The B<iconv>() function is MT-Safe, as long as callers arrange for mutual "
368 "exclusion on the I<cd> argument."
369 msgstr ""
370
371 #. type: SH
372 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
373 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
374 #, no-wrap
375 msgid "STANDARDS"
376 msgstr ""
377
378 #. type: Plain text
379 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
380 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
381 msgid "POSIX.1-2008."
382 msgstr ""
383
384 #. type: SH
385 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
386 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
387 #, no-wrap
388 msgid "HISTORY"
389 msgstr ""
390
391 #. type: Plain text
392 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
393 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
394 msgid "glibc 2.1. POSIX.1-2001."
395 msgstr ""
396
397 #. type: SH
398 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
399 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
400 #, no-wrap
401 msgid "NOTES"
402 msgstr ""
403
404 #. type: Plain text
405 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
406 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
407 msgid ""
408 "In each series of calls to B<iconv>(), the last should be one with I<inbuf> "
409 "or I<*inbuf> equal to NULL, in order to flush out any partially converted "
410 "input."
411 msgstr ""
412
413 #. type: Plain text
414 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
415 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
416 msgid ""
417 "Although I<inbuf> and I<outbuf> are typed as I<char\\ **>, this does not "
418 "mean that the objects they point can be interpreted as C strings or as "
419 "arrays of characters: the interpretation of character byte sequences is "
420 "handled internally by the conversion functions. In some encodings, a zero "
421 "byte may be a valid part of a multibyte character."
422 msgstr ""
423
424 #. type: Plain text
425 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
426 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
427 msgid ""
428 "The caller of B<iconv>() must ensure that the pointers passed to the "
429 "function are suitable for accessing characters in the appropriate character "
430 "set. This includes ensuring correct alignment on platforms that have tight "
431 "restrictions on alignment."
432 msgstr ""
433
434 #. type: SH
435 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
436 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
437 #, no-wrap
438 msgid "SEE ALSO"
439 msgstr ""
440
441 #. type: Plain text
442 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
443 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
444 msgid "B<iconv_close>(3), B<iconv_open>(3), B<iconvconfig>(8)"
445 msgstr ""
446
447 #. type: TH
448 #: debian-trixie
449 #, no-wrap
450 msgid "2024-05-02"
451 msgstr ""
452
453 #. type: TH
454 #: debian-trixie
455 #, no-wrap
456 msgid "Linux man-pages 6.9.1"
457 msgstr ""
458
459 #. type: Plain text
460 #: debian-trixie
461 msgid "Standard C library (I<libc>, I<-lc>)"
462 msgstr ""
463
464 #. type: Plain text
465 #: debian-trixie fedora-44 fedora-rawhide
466 msgid ""
467 "The B<iconv>() function converts one multibyte character at a time, and for "
468 "each character conversion it increments I<*inbuf> and decrements "
469 "I<*inbytesleft> by the number of converted input bytes, it increments "
470 "I<*outbuf> and decrements I<*outbytesleft> by the number of converted output "
471 "bytes, and it updates the conversion state contained in I<cd>. If the "
472 "character encoding of the input is stateful, the B<iconv>() function can "
473 "also convert a sequence of input bytes to an update to the conversion state "
474 "without producing any output bytes; such input is called a I<shift "
475 "sequence>. The conversion can stop for five reasons:"
476 msgstr ""
477
478 #. type: TH
479 #: fedora-44 fedora-rawhide
480 #, no-wrap
481 msgid "2024-07-23"
482 msgstr ""
483
484 #. type: TH
485 #: fedora-44 fedora-rawhide
486 #, no-wrap
487 msgid "Linux man-pages 6.13"
488 msgstr ""
489
490 #. type: TH
491 #: mageia-cauldron
492 #, no-wrap
493 msgid "Linux man-pages 6.17"
494 msgstr ""
495
496 #. type: TH
497 #: opensuse-leap-16-1 opensuse-tumbleweed
498 #, no-wrap
499 msgid "Linux man-pages (unreleased)"
500 msgstr ""