Summary
Instructions provided describe how to find the correct international encoding for an HTML Viewer. When creating an HTML viewer using the international Windows environment, it is important to know the correct encoding value for each language.
Procedure
Follow the steps below.
- Open the AppServer.properties file in the $AIMSHOME\AppServer folder. Edit the file as follows.
debug=True
logToFile=True
- Stop and restart ArcIMS services. An Application Server Log folder is created in the $AIMSHOME\AppServer folder. In the log folder, log files are created when the Application Server starts. The log file appears as follows:
Code:
AppServerDebug_1042667301484.log
Open this log file and search for 'Java Virtual machine's character encoding'. At the end of this string, it indicates encoding for the language environment. - Replace the charset value ISO-8859-1 with the proper encoding in the 'viewer.htm' file at the Web site directory C:\ArcIMS\website and the 'aims.XML.js' file at the Web site directory C:\ArcIMS\website\javascript.