ISO 2022-JP-2
From Just Solve the File Format Problem
Revision as of 16:27, 9 June 2019 by Dan Tobias (Talk | contribs)
ISO 2022-JP-2 is a Japanese encoding that is one of the ISO 2022 encodings. It is ASCII with some escape sequences that switch into different character sets. This includes JIS X 0201, JIS X 0208 (1978 and 1983 varieties), JIS X 0212-1990, GB 2312, KS X 1001, ISO 8859-1, and ISO 8859-7. It is an extended variety of ISO 2022-JP-1 (itself extended from ISO 2022-JP). ISO 2022-JP-3 and ISO 2022-JP-2004 are other alternate extensions.
This encoding differs from its "parent" ISO 2022-JP-1 by the addition of four more escape codes, for GB 2312, KS X 1001, ISO 8859-1, and ISO 8859-7.
Escape codes
-
ESC ( B
: ASCII -
ESC ( J
: JIS X 0201-1976 -
ESC $ @
: JIS X 0208-1978 -
ESC $ B
: JIS X 0208-1983 -
ESC $ ( D
: JIS X 0212-1990 -
ESC $ A
: GB 2312-1980 -
ESC $ ( C
: KS X 1001-1992 -
ESC . A
: ISO 8859-1 (high part; the low part is ASCII) -
ESC . F
: ISO 8859-7 (high part)