Changing the default code page encoding

If the sample AFP file refers to AFP fonts that are based on a code page that is different from the default code page and you have not mapped the fonts to Java fonts, the default code page can cause the text to be unreadable.

If text is unreadable, you can change the default code page to another encoding without modifying the font-mapping files.

The default code page that you specify is in effect until you tell AFP Visual Environment to use a different default code page. However, when you use an existing control file, AFP Visual Environment uses the default code page that was in effect the last time you used the same control file.

To change the default code page to another encoding:
  1. In AFP Visual Environment, open a sample AFP file.
  2. Click ResourcesModify Default Encoding.
  3. Select a code page encoding from the drop-down list.
    Note: If you have specified a default code page in the file, the code page specified in that file overrides the code page encoding you select.
  4. Click OK.