Debian Codegraph @

po/ru/man7/utf-8.7.po

raw
1 # Russian translation of manpages
2 # This file is distributed under the same license as the manpages-l10n package.
3 # Copyright © of this file:
4 # Azamat Hackimov <[email protected]>, 2013, 2016.
5 # Dmitriy Ovchinnikov <[email protected]>, 2012.
6 # Dmitry Bolkhovskikh <[email protected]>, 2017.
7 # Katrin Kutepova <[email protected]>, 2018.
8 # Yuri Kozlov <[email protected]>, 2011-2019.
9 # Иван Павлов <[email protected]>, 2017.
10 msgid ""
11 msgstr ""
12 "Project-Id-Version: manpages-l10n\n"
13 "POT-Creation-Date: 2026-06-05 06:50+0200\n"
14 "PO-Revision-Date: 2024-12-21 19:50+0300\n"
15 "Last-Translator: Yuri Kozlov <[email protected]>\n"
16 "Language-Team: Russian <[email protected]>\n"
17 "Language: ru\n"
18 "MIME-Version: 1.0\n"
19 "Content-Type: text/plain; charset=UTF-8\n"
20 "Content-Transfer-Encoding: 8bit\n"
21 "Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
22 "n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
23 "(n%100>=11 && n%100<=14)? 2 : 3);\n"
24 "X-Generator: Lokalize 2.0\n"
25
26 #. type: TH
27 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
28 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
29 #, no-wrap
30 msgid "UTF-8"
31 msgstr "UTF-8"
32
33 #. type: TH
34 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
35 #, no-wrap
36 msgid "2026-02-22"
37 msgstr "22 февраля 2026 г."
38
39 #. type: TH
40 #: archlinux debian-unstable
41 #, fuzzy, no-wrap
42 #| msgid "Linux man-pages 6.17"
43 msgid "Linux man-pages 6.18"
44 msgstr "Справочные страницы Linux 6.17"
45
46 #. type: SH
47 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
48 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
49 #, no-wrap
50 msgid "NAME"
51 msgstr "НАИМЕНОВАНИЕ"
52
53 #. type: Plain text
54 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
55 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
56 msgid "UTF-8 - an ASCII compatible multibyte Unicode encoding"
57 msgstr "UTF-8 - ASCII-совместимая многобайтовая юникодная кодировка"
58
59 #. type: SH
60 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
61 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
62 #, no-wrap
63 msgid "DESCRIPTION"
64 msgstr "ОПИСАНИЕ"
65
66 #. type: Plain text
67 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
68 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
69 #, fuzzy
70 #| msgid ""
71 #| "The Unicode 3.0 character set occupies a 16-bit code space. The most "
72 #| "obvious Unicode encoding (known as UCS-2) consists of a sequence of 16-"
73 #| "bit words. Such strings can contain\\(emas part of many 16-bit "
74 #| "characters\\(embytes such as \\(aq\\e0\\(aq or \\(aq/\\(aq, which have a "
75 #| "special meaning in filenames and other C library function arguments. In "
76 #| "addition, the majority of UNIX tools expect ASCII files and can't read 16-"
77 #| "bit words as characters without major modifications. For these reasons, "
78 #| "UCS-2 is not a suitable external encoding of Unicode in filenames, text "
79 #| "files, environment variables, and so on. The ISO 10646 Universal "
80 #| "Character Set (UCS), a superset of Unicode, occupies an even larger code "
81 #| "space\\(em31\\ bits\\(emand the obvious UCS-4 encoding for it (a sequence "
82 #| "of 32-bit words) has the same problems."
83 msgid ""
84 "The Unicode 3.0 character set occupies a 16-bit code space. The most "
85 "obvious Unicode encoding (known as UCS-2) consists of a sequence of 16-bit "
86 "words. Such strings can contain\\[em]as part of many 16-bit characters\\"
87 "[em]bytes such as \\[aq]\\[rs]0\\[aq] or \\[aq]/\\[aq], which have a special "
88 "meaning in filenames and other C library function arguments. In addition, "
89 "the majority of UNIX tools expect ASCII files and can't read 16-bit words as "
90 "characters without major modifications. For these reasons, UCS-2 is not a "
91 "suitable external encoding of Unicode in filenames, text files, environment "
92 "variables, and so on. The ISO/IEC 10646 Universal Character Set (UCS), a "
93 "superset of Unicode, occupies an even larger code space\\[em]31\\ bits\\"
94 "[em]and the obvious UCS-4 encoding for it (a sequence of 32-bit words) has "
95 "the same problems."
96 msgstr ""
97 "Набор символов Unicode 3.0 занимает 16-битное кодовое пространство. Наиболее "
98 "распространённая юникодная кодировка, известная как UCS-2, содержит "
99 "последовательности 16-битных слов. Закодированные таким образом строки могут "
100 "состоять из частей 16-битных символов например, \\(aq\\e0\\(aq или \\(aq/\\"
101 "(aq, которые имеют специальное значение в именах файлов и других параметрах "
102 "функций библиотеки языка Си. Кроме того, большинство утилит UNIX "
103 "предназначено для обработки ASCII-файлов и не может воспринимать 16-битные "
104 "слова как символы. По этим причинам UCS-2 является неподходящей кодировкой "
105 "Юникода для имён файлов, текстовых файлов, переменных окружения и т.д. Набор "
106 "ISO Universal Character Set (UCS), расширенный набор Юникода, занимает "
107 "более 31-битного кодового пространства, а используемая для него кодировка "
108 "UCS-4 (последовательность 32-битных слов) имеет те же недостатки, что и "
109 "описанные выше."
110
111 #. type: Plain text
112 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
113 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
114 msgid ""
115 "The UTF-8 encoding of Unicode and UCS does not have these problems and is "
116 "the common way in which Unicode is used on UNIX-style operating systems."
117 msgstr ""
118 "Кодировка UTF-8 для представления Юникода и UCS лишена этих недостатков и "
119 "поэтому в UNIX-подобных операционных системах используется наиболее часто."
120
121 #. type: SS
122 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
123 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
124 #, no-wrap
125 msgid "Properties"
126 msgstr "Свойства"
127
128 #. type: Plain text
129 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
130 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
131 msgid "The UTF-8 encoding has the following nice properties:"
132 msgstr "Кодировка UTF-8 обладает следующими полезными свойствами:"
133
134 #. type: IP
135 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
136 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
137 #, no-wrap
138 msgid "\\[bu]"
139 msgstr "\\[bu]"
140
141 #. type: Plain text
142 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
143 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
144 #, fuzzy
145 #| msgid ""
146 #| "UCS characters 0x00000000 to 0x0000007f (the classic US-ASCII characters) "
147 #| "are encoded simply as bytes 0x00 to 0x7f (ASCII compatibility). This "
148 #| "means that files and strings which contain only 7-bit ASCII characters "
149 #| "have the same encoding under both ASCII and UTF-8 ."
150 msgid ""
151 "UCS characters 0x00000000 to 0x0000007f (the classic US-ASCII characters) "
152 "are encoded simply as bytes 0x00 to 0x7f (ASCII compatibility). This means "
153 "that files and strings which contain only 7-bit ASCII characters have the "
154 "same encoding under both ASCII and UTF-8."
155 msgstr ""
156 "UCS-символы с кодами от 0x00000000 до 0x0000007f (стандартный набор US-"
157 "ASCII) кодируются как байты с кодами от 0x00 до 0x7f (для совместимости с "
158 "кодовой таблицей ASCII). Это означает, что файлы и строки, содержащие только "
159 "7-битные ASCII-символы, будут иметь одинаковое представление как в ASCII так "
160 "и в UTF-8."
161
162 #. type: Plain text
163 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
164 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
165 #, fuzzy
166 #| msgid ""
167 #| "All UCS characters greater than 0x7f are encoded as a multibyte sequence "
168 #| "consisting only of bytes in the range 0x80 to 0xfd, so no ASCII byte can "
169 #| "appear as part of another character and there are no problems with, for "
170 #| "example, \\(aq\\e0\\(aq or \\(aq/\\(aq."
171 msgid ""
172 "All UCS characters greater than 0x7f are encoded as a multibyte sequence "
173 "consisting only of bytes in the range 0x80 to 0xfd, so no ASCII byte can "
174 "appear as part of another character and there are no problems with, for "
175 "example, \\[aq]\\[rs]0\\[aq] or \\[aq]/\\[aq]."
176 msgstr ""
177 "Все UCS-символы с кодами больше чем 0x7f кодируются как многобайтовые "
178 "последовательности, содержащие только байты в диапазоне от 0x80 до 0xfd, так "
179 "что ASCII-байты не могут оказаться частью другого символа и, как следствие, "
180 "не будет проблем с использованием \\(aq\\e0\\(aq или \\(aq/\\(aq."
181
182 #. type: Plain text
183 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
184 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
185 msgid "The lexicographic sorting order of UCS-4 strings is preserved."
186 msgstr ""
187 "Сохраняется лексикографический порядок сортировки строк как в кодировке "
188 "UCS-4."
189
190 #. type: Plain text
191 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
192 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
193 #, fuzzy
194 #| msgid "All possible 2^31 UCS codes can be encoded using UTF-8."
195 msgid "All possible 2\\[ha]31 UCS codes can be encoded using UTF-8."
196 msgstr "При помощи UTF-8 могут быть закодированы все 2^31 значения UCS."
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 ""
202 "The bytes 0xc0, 0xc1, 0xfe, and 0xff are never used in the UTF-8 encoding."
203 msgstr ""
204 "В кодировке UTF-8 никогда не используются байты с кодами 0xc0, 0xc1, 0xfe и "
205 "0xff."
206
207 #. type: Plain text
208 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
209 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
210 msgid ""
211 "The first byte of a multibyte sequence which represents a single non-ASCII "
212 "UCS character is always in the range 0xc2 to 0xfd and indicates how long "
213 "this multibyte sequence is. All further bytes in a multibyte sequence are "
214 "in the range 0x80 to 0xbf. This allows easy resynchronization and makes the "
215 "encoding stateless and robust against missing bytes."
216 msgstr ""
217 "Первый байт многобайтовой последовательности, представляющей один не ASCII "
218 "UCS-символ, всегда находится в диапазоне от 0xc2 до 0xfd и указывает на "
219 "длину многобайтовой последовательности. Все последующие байты в "
220 "многобайтовой последовательности находятся в диапазоне от 0x80 до 0xbf. Это "
221 "позволяет облегчить ресинхронизацию, устраняет необходимость учитывать "
222 "состояние кодировки (statelessness) и делает кодировку независимой от "
223 "пропущенных байтов."
224
225 #. type: Plain text
226 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
227 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
228 msgid ""
229 "UTF-8 encoded UCS characters may be up to six bytes long, however the "
230 "Unicode standard specifies no characters above 0x10ffff, so Unicode "
231 "characters can be only up to four bytes long in UTF-8."
232 msgstr ""
233 "Символы UCS, закодированные в UTF-8, могут занимать до шести байтов, однако "
234 "в стандарте Юникода не определены символы выше 0x10ffff, поэтому в UTF-8 "
235 "юникодные символы могут иметь максимальный размер 4 байта."
236
237 #. type: SS
238 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
239 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
240 #, no-wrap
241 msgid "Encoding"
242 msgstr "Кодирование"
243
244 #. type: Plain text
245 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
246 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
247 msgid ""
248 "The following byte sequences are used to represent a character. The "
249 "sequence to be used depends on the UCS code number of the character:"
250 msgstr ""
251 "Приведённые ниже последовательности байтов используются для отображения "
252 "символа. Конкретная последовательность зависит от номера символа в кодировке "
253 "UCS:"
254
255 #. type: TP
256 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
257 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
258 #, no-wrap
259 msgid "0x00000000 - 0x0000007F:"
260 msgstr "0x00000000 - 0x0000007F:"
261
262 #. type: Plain text
263 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
264 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
265 msgid "0I<xxxxxxx>"
266 msgstr "0I<xxxxxxx>"
267
268 #. type: TP
269 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
270 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
271 #, no-wrap
272 msgid "0x00000080 - 0x000007FF:"
273 msgstr "0x00000080 - 0x000007FF:"
274
275 #. type: Plain text
276 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
277 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
278 msgid "110I<xxxxx> 10I<xxxxxx>"
279 msgstr "110I<xxxxx> 10I<xxxxxx>"
280
281 #. type: TP
282 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
283 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
284 #, no-wrap
285 msgid "0x00000800 - 0x0000FFFF:"
286 msgstr "0x00000800 - 0x0000FFFF:"
287
288 #. type: Plain text
289 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
290 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
291 msgid "1110I<xxxx> 10I<xxxxxx> 10I<xxxxxx>"
292 msgstr "1110I<xxxx> 10I<xxxxxx> 10I<xxxxxx>"
293
294 #. type: TP
295 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
296 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
297 #, no-wrap
298 msgid "0x00010000 - 0x001FFFFF:"
299 msgstr "0x00010000 - 0x001FFFFF:"
300
301 #. type: Plain text
302 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
303 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
304 msgid "11110I<xxx> 10I<xxxxxx> 10I<xxxxxx> 10I<xxxxxx>"
305 msgstr "11110I<xxx> 10I<xxxxxx> 10I<xxxxxx> 10I<xxxxxx>"
306
307 #. type: TP
308 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
309 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
310 #, no-wrap
311 msgid "0x00200000 - 0x03FFFFFF:"
312 msgstr "0x00200000 - 0x03FFFFFF:"
313
314 #. type: Plain text
315 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
316 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
317 msgid "111110I<xx> 10I<xxxxxx> 10I<xxxxxx> 10I<xxxxxx> 10I<xxxxxx>"
318 msgstr "111110I<xx> 10I<xxxxxx> 10I<xxxxxx> 10I<xxxxxx> 10I<xxxxxx>"
319
320 #. type: TP
321 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
322 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
323 #, no-wrap
324 msgid "0x04000000 - 0x7FFFFFFF:"
325 msgstr "0x04000000 - 0x7FFFFFFF:"
326
327 #. type: Plain text
328 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
329 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
330 msgid "1111110I<x> 10I<xxxxxx> 10I<xxxxxx> 10I<xxxxxx> 10I<xxxxxx> 10I<xxxxxx>"
331 msgstr ""
332 "1111110I<x> 10I<xxxxxx> 10I<xxxxxx> 10I<xxxxxx> 10I<xxxxxx> 10I<xxxxxx>"
333
334 #. type: Plain text
335 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
336 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
337 msgid ""
338 "The I<xxx> bit positions are filled with the bits of the character code "
339 "number in binary representation, most significant bit first (big-endian). "
340 "Only the shortest possible multibyte sequence which can represent the code "
341 "number of the character can be used."
342 msgstr ""
343 "Позиции битов, обозначенные как I<xxx>, заполняются соответствующими битами "
344 "из кода символа в двоичном виде, наиболее значимый бит первый (прямой "
345 "порядок байт).Используется самая короткая из возможных многобайтовых "
346 "последовательностей, которые могут представить код символа."
347
348 #. type: Plain text
349 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
350 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
351 #, fuzzy
352 #| msgid ""
353 #| "The UCS code values 0xd800\\(en0xdfff (UTF-16 surrogates) as well as "
354 #| "0xfffe and 0xffff (UCS noncharacters) should not appear in conforming "
355 #| "UTF-8 streams. According to RFC 3629 no point above U+10FFFF should be "
356 #| "used, which limits characters to four bytes."
357 msgid ""
358 "The UCS code values 0xd800\\[en]0xdfff (UTF-16 surrogates) as well as 0xfffe "
359 "and 0xffff (UCS noncharacters) should not appear in conforming UTF-8 "
360 "streams. According to RFC 3629 no point above U+10FFFF should be used, "
361 "which limits characters to four bytes."
362 msgstr ""
363 "Значения кодов UCS 0xd00\\(en0xdfff (суррогаты UTF-16), а также 0xfffe и "
364 "0xffff (не символьные значения UCS), не должны появляться в потоках UTF-8. "
365 "Согласно RFC 3629 точки выше U+10FFFF не должны использоваться, что "
366 "ограничивает символы четырьмя байтами."
367
368 #. type: SS
369 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
370 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
371 #, no-wrap
372 msgid "Example"
373 msgstr "Пример"
374
375 #. type: Plain text
376 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
377 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
378 msgid ""
379 "The Unicode character 0xa9 = 1010 1001 (the copyright sign) is encoded in "
380 "UTF-8 as"
381 msgstr ""
382 "Символ Юникода с кодом 0xa9 = 1010 1001 (знак авторского права) кодируется в "
383 "UTF-8 как"
384
385 #. type: Plain text
386 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
387 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
388 msgid "11000010 10101001 = 0xc2 0xa9"
389 msgstr "11000010 10101001 = 0xc2 0xa9"
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 ""
395 "and character 0x2260 = 0010 0010 0110 0000 (the \"not equal\" symbol) is "
396 "encoded as:"
397 msgstr ""
398 "а символ с кодом 0x2260 = 0010 0010 0110 0000 (знак неравенства) кодируется "
399 "так:"
400
401 #. type: Plain text
402 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
403 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
404 msgid "11100010 10001001 10100000 = 0xe2 0x89 0xa0"
405 msgstr "11100010 10001001 10100000 = 0xe2 0x89 0xa0"
406
407 #. type: SS
408 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
409 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
410 #, no-wrap
411 msgid "Application notes"
412 msgstr "Замечания к применению"
413
414 #. type: Plain text
415 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
416 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
417 msgid "Users have to select a UTF-8 locale, for example with"
418 msgstr "Например, с помощью "
419
420 #. type: Plain text
421 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
422 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
423 msgid "export LANG=en_GB.UTF-8"
424 msgstr "export LANG=en_GB.UTF-8"
425
426 #. type: Plain text
427 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
428 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
429 msgid "in order to activate the UTF-8 support in applications."
430 msgstr ""
431 "пользователи должны выбрать локаль UTF-8 для включения поддержки UTF-8 в "
432 "приложениях."
433
434 #. type: Plain text
435 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
436 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
437 msgid ""
438 "Application software that has to be aware of the used character encoding "
439 "should always set the locale with for example"
440 msgstr ""
441 "Программы, в которых учитывается используемая пользователем кодировка, "
442 "должны всегда устанавливать локаль с помощью"
443
444 #. type: Plain text
445 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
446 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
447 msgid "setlocale(LC_CTYPE, \"\")"
448 msgstr "setlocale(LC_CTYPE, \"\")"
449
450 #. type: Plain text
451 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
452 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
453 msgid "and programmers can then test the expression"
454 msgstr "и затем проверять выражением"
455
456 #. type: Plain text
457 #: archlinux debian-unstable opensuse-leap-16-1 opensuse-tumbleweed
458 #, fuzzy
459 #| msgid "strcmp(nl_langinfo(CODESET), \"UTF-8\") == 0"
460 msgid "streq(nl_langinfo(CODESET), \"UTF-8\")"
461 msgstr "strcmp(nl_langinfo(CODESET), \"UTF-8\") == 0"
462
463 #. type: Plain text
464 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
465 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
466 #, fuzzy
467 #| msgid ""
468 #| "to determine whether a UTF-8 locale has been selected and whether "
469 #| "therefore all plaintext standard input and output, terminal "
470 #| "communication, plaintext file content, filenames and environment "
471 #| "variables are encoded in UTF-8."
472 msgid ""
473 "to determine whether a UTF-8 locale has been selected and whether therefore "
474 "all plaintext standard input and output, terminal communication, plaintext "
475 "file content, filenames, and environment variables are encoded in UTF-8."
476 msgstr ""
477 "что локаль UTF-8 выбрана и во всех стандартных текстовых потоках ввода и "
478 "вывода, на терминалах, в содержимом простых текстовых файлов, именах файлов "
479 "и переменных окружения будет использоваться кодировка UTF-8."
480
481 #. type: Plain text
482 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
483 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
484 #, fuzzy
485 #| msgid ""
486 #| "Programmers accustomed to single-byte encodings such as US-ASCII or ISO "
487 #| "8859 have to be aware that two assumptions made so far are no longer "
488 #| "valid in UTF-8 locales. Firstly, a single byte does not necessarily "
489 #| "correspond any more to a single character. Secondly, since modern "
490 #| "terminal emulators in UTF-8 mode also support Chinese, Japanese, and "
491 #| "Korean double-width characters as well as nonspacing combining "
492 #| "characters, outputting a single character does not necessarily advance "
493 #| "the cursor by one position as it did in ASCII. Library functions such as "
494 #| "B<mbsrtowcs>(3) and B<wcswidth>(3) should be used today to count "
495 #| "characters and cursor positions."
496 msgid ""
497 "Programmers accustomed to single-byte encodings such as US-ASCII or ISO/"
498 "IEC\\ 8859 have to be aware that two assumptions made so far are no longer "
499 "valid in UTF-8 locales. Firstly, a single byte does not necessarily "
500 "correspond any more to a single character. Secondly, since modern terminal "
501 "emulators in UTF-8 mode also support Chinese, Japanese, and Korean double-"
502 "width characters as well as nonspacing combining characters, outputting a "
503 "single character does not necessarily advance the cursor by one position as "
504 "it did in ASCII. Library functions such as B<mbsrtowcs>(3) and "
505 "B<wcswidth>(3) should be used today to count characters and cursor "
506 "positions."
507 msgstr ""
508 "Программисты, привыкшие к однобайтовым кодировкам, таким как, US-ASCII или "
509 "ISO 8859, должны учесть, что два предположения, действовавших ранее, в "
510 "локалях UTF-8 не работают. Первое: один байт теперь не обязательно "
511 "соответствует одному символу. Второе: современные эмуляторы терминала в "
512 "режиме UTF-8 также поддерживают китайские, японские и корейские символы "
513 "двойной ширины (double-width characters), а также комбинированные символы "
514 "без пробелов, и вывод одного символа необязательно смещает курсор на одну "
515 "позицию, как это было в ASCII. Для подсчёта количества символов и позиций "
516 "курсора нужно использовать библиотечные функции, такие как B<mbsrtowcs>(3) и "
517 "B<wcswidth>(3)."
518
519 #. type: Plain text
520 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
521 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
522 #, fuzzy
523 #| msgid ""
524 #| "The official ESC sequence to switch from an ISO 2022 encoding scheme (as "
525 #| "used for instance by VT100 terminals) to UTF-8 is ESC % G "
526 #| "(\"\\ex1b%G\"). The corresponding return sequence from UTF-8 to ISO 2022 "
527 #| "is ESC % @ (\"\\ex1b%@\"). Other ISO 2022 sequences (such as for "
528 #| "switching the G0 and G1 sets) are not applicable in UTF-8 mode."
529 msgid ""
530 "The official ESC sequence to switch from an ISO/IEC\\ 2022 encoding scheme "
531 "(as used for instance by VT100 terminals) to UTF-8 is ESC % G (\"\\"
532 "[rs]x1b%G\"). The corresponding return sequence from UTF-8 to ISO/IEC\\ "
533 "2022 is ESC % @ (\"\\[rs]x1b%@\"). Other ISO/IEC\\ 2022 sequences (such as "
534 "for switching the G0 and G1 sets) are not applicable in UTF-8 mode."
535 msgstr ""
536 "Стандартной ESC-последовательностью для переключения из схемы кодировки ISO "
537 "2022 (используется в терминалах VT100) в UTF-8 является ESC % G "
538 "(\"\\ex1b%G\"). Соответственно, обратной последовательностью для "
539 "переключения из UTF-8 в ISO 2022 будет ESC % @ (\"\\ex1b%@\"). Остальные "
540 "последовательности ISO 2022 (такие, как переключение в наборы G0 и G1) в "
541 "режиме UTF-8 не работают."
542
543 #. type: SS
544 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
545 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
546 #, no-wrap
547 msgid "Security"
548 msgstr "Безопасность"
549
550 #. type: Plain text
551 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
552 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
553 msgid ""
554 "The Unicode and UCS standards require that producers of UTF-8 shall use the "
555 "shortest form possible, for example, producing a two-byte sequence with "
556 "first byte 0xc0 is nonconforming. Unicode 3.1 has added the requirement "
557 "that conforming programs must not accept non-shortest forms in their input. "
558 "This is for security reasons: if user input is checked for possible security "
559 "violations, a program might check only for the ASCII version of \"/../\" or "
560 "\";\" or NUL and overlook that there are many non-ASCII ways to represent "
561 "these things in a non-shortest UTF-8 encoding."
562 msgstr ""
563 "Стандарты Юникода и UCS требуют, чтобы генераторы UTF-8 использовали самую "
564 "короткую возможную форму представления символов, то есть создание "
565 "двухбайтной последовательности с первым байтом, равным 0xc0, запрещено. В "
566 "стандарте Unicode 3.1 это правило расширено и запрещает программам "
567 "воспринимать не самую короткую форму при вводе. Это сделано из соображений "
568 "безопасности: если вводимые пользователем символы проверяются системой "
569 "безопасности на возможные нарушения, то программам остаётся проверить только "
570 "ASCII версии символов «/../», «;» или NUL, так как для этих символов может "
571 "быть очень много не ASCII способов представления при не самом коротком "
572 "кодировании в UTF-8."
573
574 #. type: SS
575 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
576 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
577 #, no-wrap
578 msgid "Standards"
579 msgstr "Стандарты"
580
581 #. .SH AUTHOR
582 #. Markus Kuhn <[email protected]>
583 #. type: Plain text
584 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
585 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
586 msgid "ISO/IEC 10646-1:2000, Unicode 3.1, RFC\\ 3629, Plan 9."
587 msgstr "ISO/IEC 10646-1:2000, Unicode 3.1, RFC\\ 3629, Plan 9."
588
589 #. type: SH
590 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
591 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
592 #, no-wrap
593 msgid "SEE ALSO"
594 msgstr "СМОТРИТЕ ТАКЖЕ"
595
596 #. type: Plain text
597 #: archlinux debian-trixie debian-unstable fedora-44 fedora-rawhide
598 #: mageia-cauldron opensuse-leap-16-1 opensuse-tumbleweed
599 msgid ""
600 "B<locale>(1), B<nl_langinfo>(3), B<setlocale>(3), B<charsets>(7), "
601 "B<unicode>(7)"
602 msgstr ""
603 "B<locale>(1), B<nl_langinfo>(3), B<setlocale>(3), B<charsets>(7), "
604 "B<unicode>(7)"
605
606 #. type: TH
607 #: debian-trixie fedora-44 fedora-rawhide
608 #, no-wrap
609 msgid "2024-06-15"
610 msgstr "15 июня 2024 г."
611
612 #. type: TH
613 #: debian-trixie
614 #, no-wrap
615 msgid "Linux man-pages 6.9.1"
616 msgstr "Страницы руководства Linux 6.9.1"
617
618 #. type: Plain text
619 #: debian-trixie fedora-44 fedora-rawhide mageia-cauldron
620 msgid "strcmp(nl_langinfo(CODESET), \"UTF-8\") == 0"
621 msgstr "strcmp(nl_langinfo(CODESET), \"UTF-8\") == 0"
622
623 #. type: TH
624 #: fedora-44 fedora-rawhide
625 #, no-wrap
626 msgid "Linux man-pages 6.13"
627 msgstr "Страницы руководства Linux 6.13"
628
629 #. type: TH
630 #: mageia-cauldron
631 #, no-wrap
632 msgid "2026-02-08"
633 msgstr "8 февраля 2026 г."
634
635 #. type: TH
636 #: mageia-cauldron
637 #, no-wrap
638 msgid "Linux man-pages 6.17"
639 msgstr "Страницы руководства Linux 6.17"
640
641 #. type: TH
642 #: opensuse-leap-16-1 opensuse-tumbleweed
643 #, no-wrap
644 msgid "Linux man-pages (unreleased)"
645 msgstr "Страницы руководства Linux (не выпущены)"