Code Page Definition File

The Code Page Definition File maps the IBM AFP code page name to its code page global identifier (CPGID) and to a Web browser character set.

The section header CODEPG is followed by a list of AFP code pages and their attributes. The first attribute in each line is the AFP code page global identifier that maps to a Code Page Map File (see Code Page Map File for more information about mapping code pages). The second attribute is the Web browser character set that you decide is the best match for your AFP code page. The last line gives the default attribute values to be used when a default is required. The next figure shows an example of the contents of the cpdef.fnt file.

Example of cpdef.fnt

[CODEPG]
	;codepage = cpgid,wincp
	T1DCDCFS=1003,ANSI
	T1DEBASE=2058,ANSI
	T1D0BASE=2063,ANSI
	T1D0GP12=2085,ANSI
	T1GI0395=2079,ANSI
	T1GPI363=2066,SYMBOL
	T1V10037=37,ANSI
	T1V10273=273,ANSI
	T1000290=290,ANSI
	T1000310=310,ANSI
	T1000423=423,ANSI
	T1000905=905,ANSI
	DEFAULT=361,ANSI

The next table describes the attributes and values for CODEPG.

CODEPG section