Code Page Map File

To add a new code page to the ICU UCONV, you need to obtain or create a source mapping data file, which has a file extension of .ucm, corresponding to the desired code page.
A large archive of converter data is maintained by the International Components for Unicode (ICU) Web site. You can compile the source mapping data files (.ucm files) into binary converter files (.cnv files) by using the ICU tool makeconv and entering this command:
LIBPATH=/usr/lpp/psf/afp2pdf/icu /usr/lpp/psf/afp2pdf/cnv/
makeconv -p ICUDATA file.ucm
Where, the directory is the output directory and file.ucm represents the .ucm source file.

  • The source code of makeconv can be found on the ICU Web site.

When the afp2pdf transform is installed, a CNV folder is created under the afp2pdf transform destination folder. The CNV folder is used as storage for the binary converter .cnv files. When the corresponding .cnv file is added to the CNV folder, the code page will be available to the transform.