English

Problem: Author and ArcExplorer-Java Edition cannot display some HKSCS characters

Description

The ArcIMS Author and ArcExplorer-Java Edition applications cannot display some Hong Kong Special Character Set (HKSCS) characters.

Cause

This is a known limit of version 4.0.1 of ArcIMS and ArcExplorer-Java Edition.

Solution or Workaround

Turning off Java's advance cache for fonts solves the problem and enables the display of all HKSCS characters.

  • On Windows:

    1. For Author, click Start > Programs > ArcGIS > ArcIMS and right-click on Author.

    For ArcExplorer-Java Edition, click Start > Programs > ArcGIS and right-click on ArcExplorer.

    2. Click Properties and click the Shortcut tab.

    3. Insert the parameter in the java command string in the Target field.

    For example,
    Code:
    "<path to JRE>\bin\javaw.exe" -Dsun.awt.font.advancecache=off
    -Xms24m -Xmx256m com.esri.aims.author.Main

    4. Click OK to close the Properties dialog box.
  • On Linux/UNIX:

    1. For Author, navigate to <ArcIMS Installation Directory>/ArcIMS/bin and open aimsauthor in a text editor.

    For ArcExplorer, navigate to <ArcIMS Installation Directory>/aej40exe/bin and open aejava in a text editor.

    2. Scroll to the end of the file and insert the parameter in the java command string.

    For example,
    Code:
    $JAVA_HOME/bin/java $Options -Dsun.awt.font.advancecache=off
    -cp $JARHOME/jaxp.jar: <rest of command>

    3. Save and close the file.