CodePages.properties file

The CodePages.properties file maps an AFP code page or a Java character set encoding to an AFP code page global identifier (CPGID). You can add custom code pages to this file. The sample file that you can edit is /aiw/aiw1/lib/AVE/resources/CodePages.properties (AIX and Linux) or C:\aiw\aiw1\lib\AVE\resources\CodePages.properties (Windows).

Purpose

The CodePages.properties file lets you specify which AFP code page global identifier (CPGID) to use for custom AFP code pages or Java character sets.

Format

Each line in the file has this format:
name=cpgid,[DBCS|SBCS]
For example:
T1000259=259,SBCS
or
IBM500=259,DBCS
cpgid
The code page global identifier (CPGID) for the AFP code page or Java character set.
DBCS|SBCS
Optional indicator for double-byte character set (DBCS) or single-byte character set (SBCS). The default is SBCS.
name
The AFP code page name or the Java character set name.

Syntax rules

  • Start each line in column one.
  • A pound sign (#) in column one indicates the line is a comment.
  • All values are case-sensitive.
  • All parameters are positional.
  • Blanks are not allowed.