aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Colomar <alx@kernel.org>2024-01-28 20:17:56 +0100
committerAlejandro Colomar <alx@kernel.org>2024-01-28 20:22:26 +0100
commitd5e5db91ece5955b21ae1aedc03ba1d56d3cf423 (patch)
tree8ab619f8b29e604db844cd58d5059bc58e1d3647
parenta899cc8c89fc748448839a53560769a6e70671f7 (diff)
downloadman-pages-d5e5db91ece5955b21ae1aedc03ba1d56d3cf423.tar.gz
man*/: Say ISO/IEC 2022
Link: <https://www.iso.org/standard/22747.html> Reported-by: Helge Kreutzmann <debian@helgefjell.de> Cc: Mario Blaettermann <mario.blaettermann@gmail.com> Signed-off-by: Alejandro Colomar <alx@kernel.org>
-rw-r--r--man3/mbsinit.32
-rw-r--r--man4/console_codes.42
-rw-r--r--man7/charsets.714
-rw-r--r--man7/utf-8.76
4 files changed, 12 insertions, 12 deletions
diff --git a/man3/mbsinit.3 b/man3/mbsinit.3
index 6581cc7565..3ace32b691 100644
--- a/man3/mbsinit.3
+++ b/man3/mbsinit.3
@@ -29,7 +29,7 @@ Conversion of a string uses a finite-state machine; when it is interrupted
after the complete conversion of a number of characters, it may need to
save a state for processing the remaining characters.
Such a conversion
-state is needed for the sake of encodings such as ISO-2022 and UTF-7.
+state is needed for the sake of encodings such as ISO/IEC\~2022 and UTF-7.
.P
The initial state is the state at the beginning of conversion of a string.
There are two kinds of state: the one used by multibyte to wide character
diff --git a/man4/console_codes.4 b/man4/console_codes.4
index 8a7c1d3a47..2a8f4ad7e5 100644
--- a/man4/console_codes.4
+++ b/man4/console_codes.4
@@ -6,7 +6,7 @@
.\" This is combined from many sources.
.\" For Linux, the definitive source is of course console.c.
.\" About vt100-like escape sequences in general there are
-.\" the ISO 6429 and ISO 2022 norms, the descriptions of
+.\" the ISO 6429 and ISO/IEC 2022 norms, the descriptions of
.\" an actual vt100, and the xterm docs (ctlseqs.ms).
.\" Substantial portions of this text are derived from a write-up
.\" by Eric S. Raymond <esr@thyrsus.com>.
diff --git a/man7/charsets.7 b/man7/charsets.7
index dcda1f08bf..022ca0106e 100644
--- a/man7/charsets.7
+++ b/man7/charsets.7
@@ -142,7 +142,7 @@ The lower half is ASCII;
the upper is a Cyrillic character set somewhat better designed than
ISO 8859-5.
KOI8-U, based on KOI8-R, has better support for Ukrainian.
-Neither of these sets are ISO-2022 compatible,
+Neither of these sets are ISO/IEC\~2022 compatible,
unlike the ISO 8859 series.
.P
Console support for KOI8-R is available under Linux through user-mode
@@ -165,7 +165,7 @@ It is a superset of ASCII.
Non-ASCII characters are expressed in two bytes.
Bytes 0xa1\[en]0xfe are used as leading bytes for two-byte characters.
Big5 and its extension were widely used in Taiwan and Hong Kong.
-It is not ISO 2022 compliant.
+It is not ISO/IEC\~2022 compliant.
.\" Thanks to Tomohiro KUBOTA for the following sections about
.\" national standards.
.SS JIS X 0208
@@ -179,7 +179,7 @@ This means that JIS X 0208
itself is not used for expressing text data.
JIS X 0208 is used
as a component to construct encodings such as EUC-JP, Shift_JIS,
-and ISO-2022-JP.
+and ISO/IEC\~2022-JP.
EUC-JP is the most important encoding for Linux
and includes ASCII and JIS X 0208.
In EUC-JP, JIS X 0208
@@ -190,17 +190,17 @@ KS X 1001 is a Korean national standard character set.
Just as
JIS X 0208, characters are mapped into a 94x94 two-byte matrix.
KS X 1001 is used like JIS X 0208, as a component
-to construct encodings such as EUC-KR, Johab, and ISO-2022-KR.
+to construct encodings such as EUC-KR, Johab, and ISO/IEC\~2022-KR.
EUC-KR is the most important encoding for Linux and includes
ASCII and KS X 1001.
KS C 5601 is an older name for KS X 1001.
-.SS ISO 2022 and ISO/IEC\~4873
-The ISO 2022 and ISO/IEC\~4873 standards describe a font-control model
+.SS ISO/IEC\~2022 and ISO/IEC\~4873
+The ISO/IEC\~2022 and ISO/IEC\~4873 standards describe a font-control model
based on VT100 practice.
This model is (partially) supported
by the Linux kernel and by
.BR xterm (1).
-Several ISO 2022-based character encodings have been defined,
+Several ISO/IEC\~2022-based character encodings have been defined,
especially for Japanese.
.P
There are 4 graphic character sets, called G0, G1, G2, and G3,
diff --git a/man7/utf-8.7 b/man7/utf-8.7
index 2ea14b2e41..f522f94353 100644
--- a/man7/utf-8.7
+++ b/man7/utf-8.7
@@ -179,13 +179,13 @@ and
.BR wcswidth (3)
should be used today to count characters and cursor positions.
.P
-The official ESC sequence to switch from an ISO 2022
+The official ESC sequence to switch from an ISO/IEC\~2022
encoding scheme (as used for instance by VT100 terminals) to
UTF-8 is ESC % G
("\ex1b%G").
The corresponding return sequence from
-UTF-8 to ISO 2022 is ESC % @ ("\ex1b%@").
-Other ISO 2022 sequences (such as
+UTF-8 to ISO/IEC\~2022 is ESC % @ ("\ex1b%@").
+Other ISO/IEC\~2022 sequences (such as
for switching the G0 and G1 sets) are not applicable in UTF-8 mode.
.SS Security
The Unicode and UCS standards require that producers of UTF-8