Debian Codegraph @

templates/man7/utf-8.7.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:50+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 "UTF-8"
24 msgstr ""
25
26 #. type: TH
27 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
28 #, no-wrap
29 msgid "2026-02-22"
30 msgstr ""
31
32 #. type: TH
33 #: archlinux debian-unstable
34 #, no-wrap
35 msgid "Linux man-pages 6.18"
36 msgstr ""
37
38 #. type: SH
39 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
40 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
41 #, no-wrap
42 msgid "NAME"
43 msgstr ""
44
45 #. type: Plain text
46 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
47 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
48 msgid "UTF-8 - an ASCII compatible multibyte Unicode encoding"
49 msgstr ""
50
51 #. type: SH
52 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
53 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
54 #, no-wrap
55 msgid "DESCRIPTION"
56 msgstr ""
57
58 #. type: Plain text
59 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
60 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
61 msgid ""
62 "The Unicode 3.0 character set occupies a 16-bit code space. The most "
63 "obvious Unicode encoding (known as UCS-2) consists of a sequence of 16-bit "
64 "words. Such strings can contain\\[em]as part of many 16-bit characters\\"
65 "[em]bytes such as \\[aq]\\[rs]0\\[aq] or \\[aq]/\\[aq], which have a special "
66 "meaning in filenames and other C library function arguments. In addition, "
67 "the majority of UNIX tools expect ASCII files and can't read 16-bit words as "
68 "characters without major modifications. For these reasons, UCS-2 is not a "
69 "suitable external encoding of Unicode in filenames, text files, environment "
70 "variables, and so on. The ISO/IEC 10646 Universal Character Set (UCS), a "
71 "superset of Unicode, occupies an even larger code space\\[em]31\\ bits\\"
72 "[em]and the obvious UCS-4 encoding for it (a sequence of 32-bit words) has "
73 "the same problems."
74 msgstr ""
75
76 #. type: Plain text
77 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
78 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
79 msgid ""
80 "The UTF-8 encoding of Unicode and UCS does not have these problems and is "
81 "the common way in which Unicode is used on UNIX-style operating systems."
82 msgstr ""
83
84 #. type: SS
85 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
86 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
87 #, no-wrap
88 msgid "Properties"
89 msgstr ""
90
91 #. type: Plain text
92 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
93 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
94 msgid "The UTF-8 encoding has the following nice properties:"
95 msgstr ""
96
97 #. type: IP
98 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
99 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
100 #, no-wrap
101 msgid "\\[bu]"
102 msgstr ""
103
104 #. type: Plain text
105 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
106 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
107 msgid ""
108 "UCS characters 0x00000000 to 0x0000007f (the classic US-ASCII characters) "
109 "are encoded simply as bytes 0x00 to 0x7f (ASCII compatibility). This means "
110 "that files and strings which contain only 7-bit ASCII characters have the "
111 "same encoding under both ASCII and UTF-8."
112 msgstr ""
113
114 #. type: Plain text
115 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
116 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
117 msgid ""
118 "All UCS characters greater than 0x7f are encoded as a multibyte sequence "
119 "consisting only of bytes in the range 0x80 to 0xfd, so no ASCII byte can "
120 "appear as part of another character and there are no problems with, for "
121 "example, \\[aq]\\[rs]0\\[aq] or \\[aq]/\\[aq]."
122 msgstr ""
123
124 #. type: Plain text
125 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
126 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
127 msgid "The lexicographic sorting order of UCS-4 strings is preserved."
128 msgstr ""
129
130 #. type: Plain text
131 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
132 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
133 msgid "All possible 2\\[ha]31 UCS codes can be encoded using UTF-8."
134 msgstr ""
135
136 #. type: Plain text
137 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
138 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
139 msgid ""
140 "The bytes 0xc0, 0xc1, 0xfe, and 0xff are never used in the UTF-8 encoding."
141 msgstr ""
142
143 #. type: Plain text
144 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
145 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
146 msgid ""
147 "The first byte of a multibyte sequence which represents a single non-ASCII "
148 "UCS character is always in the range 0xc2 to 0xfd and indicates how long "
149 "this multibyte sequence is. All further bytes in a multibyte sequence are "
150 "in the range 0x80 to 0xbf. This allows easy resynchronization and makes the "
151 "encoding stateless and robust against missing bytes."
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 "UTF-8 encoded UCS characters may be up to six bytes long, however the "
159 "Unicode standard specifies no characters above 0x10ffff, so Unicode "
160 "characters can be only up to four bytes long in UTF-8."
161 msgstr ""
162
163 #. type: SS
164 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
165 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
166 #, no-wrap
167 msgid "Encoding"
168 msgstr ""
169
170 #. type: Plain text
171 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
172 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
173 msgid ""
174 "The following byte sequences are used to represent a character. The "
175 "sequence to be used depends on the UCS code number of the character:"
176 msgstr ""
177
178 #. type: TP
179 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
180 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
181 #, no-wrap
182 msgid "0x00000000 - 0x0000007F:"
183 msgstr ""
184
185 #. type: Plain text
186 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
187 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
188 msgid "0I<xxxxxxx>"
189 msgstr ""
190
191 #. type: TP
192 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
193 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
194 #, no-wrap
195 msgid "0x00000080 - 0x000007FF:"
196 msgstr ""
197
198 #. type: Plain text
199 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
200 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
201 msgid "110I<xxxxx> 10I<xxxxxx>"
202 msgstr ""
203
204 #. type: TP
205 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
206 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
207 #, no-wrap
208 msgid "0x00000800 - 0x0000FFFF:"
209 msgstr ""
210
211 #. type: Plain text
212 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
213 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
214 msgid "1110I<xxxx> 10I<xxxxxx> 10I<xxxxxx>"
215 msgstr ""
216
217 #. type: TP
218 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
219 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
220 #, no-wrap
221 msgid "0x00010000 - 0x001FFFFF:"
222 msgstr ""
223
224 #. type: Plain text
225 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
226 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
227 msgid "11110I<xxx> 10I<xxxxxx> 10I<xxxxxx> 10I<xxxxxx>"
228 msgstr ""
229
230 #. type: TP
231 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
232 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
233 #, no-wrap
234 msgid "0x00200000 - 0x03FFFFFF:"
235 msgstr ""
236
237 #. type: Plain text
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 msgid "111110I<xx> 10I<xxxxxx> 10I<xxxxxx> 10I<xxxxxx> 10I<xxxxxx>"
241 msgstr ""
242
243 #. type: TP
244 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
245 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
246 #, no-wrap
247 msgid "0x04000000 - 0x7FFFFFFF:"
248 msgstr ""
249
250 #. type: Plain text
251 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
252 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
253 msgid "1111110I<x> 10I<xxxxxx> 10I<xxxxxx> 10I<xxxxxx> 10I<xxxxxx> 10I<xxxxxx>"
254 msgstr ""
255
256 #. type: Plain text
257 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
258 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
259 msgid ""
260 "The I<xxx> bit positions are filled with the bits of the character code "
261 "number in binary representation, most significant bit first (big-endian). "
262 "Only the shortest possible multibyte sequence which can represent the code "
263 "number of the character can be used."
264 msgstr ""
265
266 #. type: Plain text
267 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
268 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
269 msgid ""
270 "The UCS code values 0xd800\\[en]0xdfff (UTF-16 surrogates) as well as 0xfffe "
271 "and 0xffff (UCS noncharacters) should not appear in conforming UTF-8 "
272 "streams. According to RFC 3629 no point above U+10FFFF should be used, "
273 "which limits characters to four bytes."
274 msgstr ""
275
276 #. type: SS
277 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
278 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
279 #, no-wrap
280 msgid "Example"
281 msgstr ""
282
283 #. type: Plain text
284 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
285 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
286 msgid ""
287 "The Unicode character 0xa9 = 1010 1001 (the copyright sign) is encoded in "
288 "UTF-8 as"
289 msgstr ""
290
291 #. type: Plain text
292 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
293 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
294 msgid "11000010 10101001 = 0xc2 0xa9"
295 msgstr ""
296
297 #. type: Plain text
298 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
299 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
300 msgid ""
301 "and character 0x2260 = 0010 0010 0110 0000 (the \"not equal\" symbol) is "
302 "encoded as:"
303 msgstr ""
304
305 #. type: Plain text
306 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
307 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
308 msgid "11100010 10001001 10100000 = 0xe2 0x89 0xa0"
309 msgstr ""
310
311 #. type: SS
312 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
313 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
314 #, no-wrap
315 msgid "Application notes"
316 msgstr ""
317
318 #. type: Plain text
319 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
320 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
321 msgid "Users have to select a UTF-8 locale, for example with"
322 msgstr ""
323
324 #. type: Plain text
325 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
326 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
327 msgid "export LANG=en_GB.UTF-8"
328 msgstr ""
329
330 #. type: Plain text
331 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
332 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
333 msgid "in order to activate the UTF-8 support in applications."
334 msgstr ""
335
336 #. type: Plain text
337 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
338 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
339 msgid ""
340 "Application software that has to be aware of the used character encoding "
341 "should always set the locale with for example"
342 msgstr ""
343
344 #. type: Plain text
345 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
346 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
347 msgid "setlocale(LC_CTYPE, \"\")"
348 msgstr ""
349
350 #. type: Plain text
351 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
352 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
353 msgid "and programmers can then test the expression"
354 msgstr ""
355
356 #. type: Plain text
357 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
358 msgid "streq(nl_langinfo(CODESET), \"UTF-8\")"
359 msgstr ""
360
361 #. type: Plain text
362 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
363 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
364 msgid ""
365 "to determine whether a UTF-8 locale has been selected and whether therefore "
366 "all plaintext standard input and output, terminal communication, plaintext "
367 "file content, filenames, and environment variables are encoded in UTF-8."
368 msgstr ""
369
370 #. type: Plain text
371 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
372 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
373 msgid ""
374 "Programmers accustomed to single-byte encodings such as US-ASCII or ISO/"
375 "IEC\\ 8859 have to be aware that two assumptions made so far are no longer "
376 "valid in UTF-8 locales. Firstly, a single byte does not necessarily "
377 "correspond any more to a single character. Secondly, since modern terminal "
378 "emulators in UTF-8 mode also support Chinese, Japanese, and Korean double-"
379 "width characters as well as nonspacing combining characters, outputting a "
380 "single character does not necessarily advance the cursor by one position as "
381 "it did in ASCII. Library functions such as B<mbsrtowcs>(3) and "
382 "B<wcswidth>(3) should be used today to count characters and cursor "
383 "positions."
384 msgstr ""
385
386 #. type: Plain text
387 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
388 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
389 msgid ""
390 "The official ESC sequence to switch from an ISO/IEC\\ 2022 encoding scheme "
391 "(as used for instance by VT100 terminals) to UTF-8 is ESC % G (\"\\"
392 "[rs]x1b%G\"). The corresponding return sequence from UTF-8 to ISO/IEC\\ "
393 "2022 is ESC % @ (\"\\[rs]x1b%@\"). Other ISO/IEC\\ 2022 sequences (such as "
394 "for switching the G0 and G1 sets) are not applicable in UTF-8 mode."
395 msgstr ""
396
397 #. type: SS
398 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
399 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
400 #, no-wrap
401 msgid "Security"
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 "The Unicode and UCS standards require that producers of UTF-8 shall use the "
409 "shortest form possible, for example, producing a two-byte sequence with "
410 "first byte 0xc0 is nonconforming. Unicode 3.1 has added the requirement "
411 "that conforming programs must not accept non-shortest forms in their input. "
412 "This is for security reasons: if user input is checked for possible security "
413 "violations, a program might check only for the ASCII version of \"/../\" or "
414 "\";\" or NUL and overlook that there are many non-ASCII ways to represent "
415 "these things in a non-shortest UTF-8 encoding."
416 msgstr ""
417
418 #. type: SS
419 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
420 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
421 #, no-wrap
422 msgid "Standards"
423 msgstr ""
424
425 #. .SH AUTHOR
426 #. Markus Kuhn <[email protected]>
427 #. type: Plain text
428 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
429 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
430 msgid "ISO/IEC 10646-1:2000, Unicode 3.1, RFC\\ 3629, Plan 9."
431 msgstr ""
432
433 #. type: SH
434 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
435 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
436 #, no-wrap
437 msgid "SEE ALSO"
438 msgstr ""
439
440 #. type: Plain text
441 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
442 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
443 msgid ""
444 "B<locale>(1), B<nl_langinfo>(3), B<setlocale>(3), B<charsets>(7), "
445 "B<unicode>(7)"
446 msgstr ""
447
448 #. type: TH
449 #: debian-trixie fedora-44 fedora-rawhide
450 #, no-wrap
451 msgid "2024-06-15"
452 msgstr ""
453
454 #. type: TH
455 #: debian-trixie
456 #, no-wrap
457 msgid "Linux man-pages 6.9.1"
458 msgstr ""
459
460 #. type: Plain text
461 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
462 msgid "strcmp(nl_langinfo(CODESET), \"UTF-8\") == 0"
463 msgstr ""
464
465 #. type: TH
466 #: fedora-44 fedora-rawhide
467 #, no-wrap
468 msgid "Linux man-pages 6.13"
469 msgstr ""
470
471 #. type: TH
472 #: mageia-cauldron
473 #, no-wrap
474 msgid "2026-02-08"
475 msgstr ""
476
477 #. type: TH
478 #: mageia-cauldron
479 #, no-wrap
480 msgid "Linux man-pages 6.17"
481 msgstr ""
482
483 #. type: TH
484 #: opensuse-leap-16-1 opensuse-tumbleweed
485 #, no-wrap
486 msgid "Linux man-pages (unreleased)"
487 msgstr ""