Language(s) | Various. |
---|---|
Standard | |
Classification | Stateful system of encodings (with stateless pre-configured subsets) |
Transforms / Encodes | US-ASCII and, depending on implementation: |
Succeeded by | ISO/IEC 10646 (Unicode) |
Other related encoding(s) | Stateful subsets: Pre-configured versions: |
ISO/IEC 2022 Information technology—Character code structure and extension techniques, is an ISO/IEC standard in the field of character encoding. It is equivalent to the ECMA standard ECMA-35,[1][2] the ANSI standard ANSI X3.41[3] and the Japanese Industrial Standard JIS X 0202. Originating in 1971, it was most recently revised in 1994.[4]
ISO 2022 specifies a general structure which character encodings can conform to, dedicating particular ranges of bytes (0x00–1F and 0x7F–9F) to be used for non-printing control codes[5] for formatting and in-band instructions (such as line breaks or formatting instructions for text terminals), rather than graphical characters. It also specifies a syntax for escape sequences, multiple-byte sequences beginning with the ESC control code, which can likewise be used for in-band instructions.[6] Specific sets of control codes and escape sequences designed to be used with ISO 2022 include ISO/IEC 6429, portions of which are implemented by ANSI.SYS and terminal emulators.
ISO 2022 itself also defines particular control codes and escape sequences which can be used for switching between different coded character sets (for example, between ASCII and the Japanese JIS X 0208) so as to use multiple in a single document,[7] effectively combining them into a single stateful encoding (a feature less important since the advent of Unicode). It is designed to be usable in both 8-bit environments and 7-bit environments (those where only seven bits are usable in a byte, such as e-mail without 8BITMIME).[8]
marc-escs
was invoked but never defined (see the help page).8.1
was invoked but never defined (see the help page).ch13
was invoked but never defined (see the help page).ch12_14
was invoked but never defined (see the help page).ch11
was invoked but never defined (see the help page).