SBCS PC Code for Each DBCS Language

The SBCS PC code pages used on IBM Personal System can be described in three code ranges, as shown in Code Range Comparison of SBCS-PC code with IBM PC Code.

Note that box characters have the following differences between code pages:

We recommend the following approach to display box characters in DBCS systems.

                      Sign Name          ASCII
                      -------------------------
        .---------.    .   period         0x2E
        |    |    |    -   minus sign     0x2D
        |----+----|    +   plus sign      0x2B
        |    |    |    |   vertical line  0x7C
        '---------'    '   quote          0x2e



Recommended characters instead of box characters
        1st Hex ────>
   ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐
   │Hex│ 0 │ 1 │ 2 │ 3 │ 4 │ 5 │ 6 │ 7 │ 8 │ 9 │ A │ B │ C │ D │ E │ F │
   ├───┼───┴───┼───┴───┴───┴───┴───┴───┼───┴───┴───┴───┴───┴───┴───┴───┤
2nd│ 0 │       │                       │                               │
Hex├───┤       │                       │                               │
 │ │ 1 │ Area  │ Area (2)              │ Area (3)                      │
 │ ├───┤ (1)   │                       │                               │
  │ 2 │       │                       │                               │
   ├───┤       │                       │                               │
   │ 3 │       │                       │                               │
   ├───┤       │                       │                               │
   │ 4 │       │                       │                               │
   ├───┤       │                       │                               │
   │ 5 │       │                       │                               │
   ├───┤       │                       │ Area (1) and (3) are          │
   │ 6 │       │                       │ different from IBM PC code    │
   ├───┤       │                       │                               │
   │ 7 │       │  same as IBM PC code  │ and unique to each DBCS       │
   ├───┤       │ (based on ASCII code) │ national language             │
   │ 8 │       │                       │                               │
   ├───┤       │                       │                               │
   │ 9 │       │                       │ Area (1) and (2) are SBCS     │
   ├───┤       │                       │ code, but area (3) includes   │
   │ A │       │                       │ code points for the first byte│
   ├───┤       │                       │ of double byte codes          │
   │ B │       │            5CH        │                               │
   ├───┤       │           ┌───┐       │                               │
   │ C │       │           │ * │       │                               │
   ├───┤       │           └───┘       │                               │
   │ D │       │ * : unique to      7EH│                               │
   ├───┤       │     each DBCS     ┌───┤                               │
   │ E │       │     national      │ * │                               │
   ├───┤       │     language      ├───┤                               │
   │ F │       │                   │   │                               │
   └───┴───────┴───────────────────┴───┴───────────────────────────────┘
Code Range Comparison of SBCS─PC code with IBM PC Code
┌────────────────────┬───────────────────────────┬──────────┐
│  LANGUAGE  (CPGID) │        5CH                │   7EH    │
├────────────────────┼───────────────────────────┼──────────┤
│ English    (00437) │ back─slash                │  tilde   │
│ Japanese   (00897) │ monetary symbol(Yen sign) │ overline │
│        Ext (01041) │ monetary symbol(Yen sign) │ overline │
│ Korean KS  (01088) │ monetary symbol(Won sign) │  tilde   │
│ S─Chinese  (01115) │ back─slash                │  tilde   │
│ T─Chinese  (00904) │ back─slash                │  tilde   │
│        Ext (01043) │ back─slash                │  tilde   │
│        Big5(01114) │ back─slash                │  tilde   │
└────────────────────┴───────────────────────────┴──────────┘
National use of Code points 5CH and 7EH


[Back: IBM Standard and National Standard]
[Next: DBCS PC Code for Each DBCS Language]