Naming conventions for code pages

All AFP code page names begin with T1, which makes them recognizable as code pages. This section shows the naming conventions for code pages and extended code pages used with these font library character sets:

  • General Library (outline fonts) and SBCS (expanded core raster fonts)
  • CJK (outline fonts) and DBCS (core raster fonts) with full-width characters
  • CJK (outline fonts) and DBCS (core raster fonts) with half-width characters

Code pages for General Library and SBCS fonts

The last six characters of the code page name are used to identify the code page for General Library and SBCS fonts. The preferred naming convention is where the first two characters are 00, V1, or B0, and the final four characters are the code page global identifier (CPGID), which is a number registered by IBM to identify each code page uniquely.

The next table shows the naming convention for code pages used with General Library outline font character sets and SBCS raster font character sets. The naming convention format is T1yyyyyy.

Naming convention for General Library and SBCS fonts

T1 yyyyyy
AFP code page prefix Code page identifier:
00nnnn
Expanded core code pages; nnnn is the CPGID.
V1nnnn
Expanded core code pages; nnnn is the CPGID.
B00nnn
Bookmaster code pages; 0nnn is the CPGID.
Dxnnnn
DCF-related code pages
DxBASE
Migration code pages
GDPnnn
Data processing code pages
GE0nnn
Sonoran Display and Sonoran Petite code pages
GI0nnn
General code pages
GP0nnn
General purpose code pages
L0nnnn
LCS-related code pages
M00nnn
Mathematics code pages
S0nnnn
6670-related code pages
SKBnnn
Standard keyboard code pages

Code pages with full-width characters for CJK and DBCS fonts

The names of code pages that use full-width characters are typically six characters for CJK outline fonts and eight characters for DBCS raster fonts.

The next table shows the naming convention for code pages used with CJK and DBCS full-width character sets. The naming convention format is T1xxxxss.

Naming convention for code pages using full-width characters

T1 xxxx ss
AFP code page prefix Code page global identifier (CPGID), with these exceptions
0300
Japanese JIS X 0213:2000 code page for CPGID:65280
K300
Japanese JIS X 0213:2004 code page for CPGID:0300
I300
Japanese IBM JIKEI code page for CPGID:65281
J300
Japanese IBM JIKEI with JIS90 code page is for CPGID:65282
0834
Korean KS code page for CPGID:65283
K834
Korean Full Hangul code page for CPGID:0834
0835
Traditional Chinese code page for CPGID:0835
0837
Simplified Chinese GB code page for CPGID:65284
K837
Simplified Chinese GB18030 code page is for CPGID:0837
Section number for a code page used with a raster font.

Code pages with half-width characters for CJK and DBCS fonts

The names of code pages that use half-width characters typically have H0 as the third and fourth characters.

The next table shows the naming convention for code pages used with CJK and DBCS half-width character sets. The naming convention format is T1Hnxxxx.

Naming convention for code pages using half-width characters

T1 Hn xxxx
AFP code page prefix
H0
Typically used to represent half-width characters.
HK
Used for Japanese CPGID:0037,00290 and Simplified Chinese CPGID:1114.
Code page global identifier (CPGID)