Jump to content

Code page 942

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by HarJIT (talk | contribs) at 00:45, 8 November 2017 ((edited with ProveIt)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Code page 942 (abbreviated as CP942 or IBM-942) is one of IBM's extensions of Shift JIS. The coded character sets are JIS X 0201, JIS X 0208, IBM extensions for IBM 1880 UDC and IBM extensions. It is a combination of the single-byte Code page 1041 and the double-byte Code page 301.[1]

It is a superset of IBM-932, differing in its use of Code page 1041 in place of Code page 897 for its single byte codes. Code page 1041 is an extension of Code page 897 and adds five single-byte characters.[2] 0x80 is mapped to the cent sign (¢), 0xA0 is mapped to the pound sign (£), 0xFD is mapped to the not sign (¬), 0xFE is mapped to the backslash (\) and 0xFF is mapped to the tilde (~).[3] These are all unassigned in Code page 897 and therefore IBM-932.[4]

Code page 942 contains standard 7-bit ISO 646 codes, and Japanese characters are indicated by the high bit set to 1. Some code points in this page require a second byte, so characters use either 8 or 16 bits for encoding.

See also

References

  1. ^ "Coded character set identifiers - CCSID 942". IBM Globalization. IBM.
  2. ^ "Code page identifiers - CP 01041". IBM Globalization. IBM.
  3. ^ "CP01041.txt". IBM.
  4. ^ "CP00897.txt". IBM.