Combined Code Page ID (Mixture of SBCS and DBCS)

You can specify only one code page ID to OS/2 code page APIs such as DosGetCp, DosQueryCp, WinQueryCp, etc. however, you must use both an SBCS code page and DBCS one in a character string. DBCS OS/2 uses special ID, which are called combined code page IDs [In host environment, two IDs, an SBCS code page ID and a DBCS code page ID, are used rather than a combined code page ID. ] in this book, to identify pairs of an SBCS code page and a DBCS code page. Combined Code Page ID shows combined code page IDs for each DBCS country.

┌────────────────────────────────────────┬───────┬───────┬───────┐
│  COUNTRY:    COMBINED CODE PAGE        │  ID   │  SBCS │ DBCS  │
├────────────────────────────────────────┼───────┼───────┼───────┤
│ Japan                                  │       │       │       │
│   HOST                                 │       │       │       │
│     Japanese (Latin) Extended          │ 00939 │ 01027 │ 00300 │
│     Japanese (Katakana) Extended       │ 00930 │ 00290 │ 00300 │
│   PC                                   │       │       │       │
│     Japanese PC                        │ 00932 │ 00897 │ 00301 │
│     Japanese PC Extended               │ 00942 │ 01041 │ 00301 │
├────────────────────────────────────────┼───────┼───────┼───────┤
│ Korea                                  │       │       │       │
│   HOST                                 │       │       │       │
│     Korean Extended                    │ 00933 │ 00833 │ 00834 │
│   PC                                   │       │       │       │
│     Korean PC                        *2│ 00934 │ 00891 │ 00926 │
│     Korean PC Extended               *2│ 00944 │ 01040 │ 00926 │
│     Korean PC (IBM KS)                 │ 00949 │ 01088 │ 00951 │
├────────────────────────────────────────┼───────┼───────┼───────┤
│ PRC                                    │       │       │       │
│   HOST                                 │       │       │       │
│     S─Chinese Extended                 │ 00935 │ 00836 │ 00837 │
│   PC                                   │       │       │       │
│     S─Chinese PC (IBM GB)              │ 01381 │ 01115 │ 01380 │
├────────────────────────────────────────┼───────┼───────┼───────┤
│ ROC                                    │       │       │       │
│   HOST                                 │       │       │       │
│     T─Chinese Extended                 │ 00937 │ 00037 │ 00835 │
│   PC                                   │       │       │       │
│     T─Chinese PC                       │ 00938 │ 00904 │ 00927 │
│     T─Chinese PC Extended              │ 00948 │ 01043 │ 00927 │
│     T─Chinese PC (IBM BIG─5)           │ 00950 │ 01114 │ 00947 │
└────────────────────────────────────────┴───────┴───────┴───────┘

NOTE:*1) 931 is not supported by the 3270 emulator of Japanese
         OS/2.  Instead, 939 whose SBCS part has additional
         characters is supported.

     *2) 934 and 944 are supported in OS/2 H version 1.2, 1.3 and 2.00,
         but are not supported in OS/2 H2.00.1.  From OS/2 H2.00.1 only
         IBM KS(Mixed:949, SBCS:1088,DBCS:951) are supported.
Combined Code Page ID

Some products support 930. But those products currently support only a subset of 930's SBCS characters, character set 332, which does not contain lowercase alphabetic characters. When those products expand the character set from 332 to 1172 to include lowercase alphabetic characters, some mechanism is required to identify the supported character sets since using only code page IDs cannot distinguish character sets.

In some cases like the above, using only code page IDs is not sufficient and a combination of a code page ID and a character set ID [(for SBCS/DBCS mixture) a combination of an SBCS code page ID, a DBCS code page ID, an SBCS character set ID and a DBCS character set ID ] is required to unambiguously identify and consistently understand coded graphic characters. This is addressed by Character Data Representation Architecture (CDRA), which is a prerequisite to the enhanced NLS objective of SAA. For CDRA, see CDRA Executive Overview (GC09-1392), CDRA Reference Level 1 (SC09-1390) and CDRA ─ Level 1 Registry


[Back: Character Set and Code Page]
[Next: Extended Code Pages]