Is This Content Helpful?
We're glad to know this article was helpful.
You can specify a locale to tell the operating system how to process and present information in a way appropriate for your language, country, and cultural customs.
Generally, a locale consists of three parts: language, territory, and codeset. Language specifies the native language (English). Territory specifies a geographic entity (United States). Codeset specifies the coded character set for the locale (ISO-8859-1). While Java uses Unicode as its internal character set, operating systems still use a region specific codepage (specified by locale) to represent text. The Java Virtual Machine assumes the default system locale is used when executing or utilizing a Java application; thus, when the ArcIMS Application Server (Java application) facilitates communication between clients and spatial servers, it uses the default locale used by the Java Virtual Machine to render and recognize textual information, namely ArcXML.
To view the current locale settings being used by ArcIMS, enable the debug option for the ArcIMS Application server and start the service. Do not start ArcIMS Monitor or Tasker. In addition to general startup information, the log file (or console window) will display two lines like these:
[Mon Dec 24 00:39:43 PST 2001] main> Java Virtual Machine's character encoding: Cp1252
[Mon Dec 24 00:39:43 PST 2001] main> Default locale is en_US : English (United States).
This information will indicate the default locale settings used by ArcIMS. In this example, the language is English, the territory is the United States, and the codeset is Cp1252.
In order to change and configure the default system locale for ArcIMS, do the following:
If a language (locale) is not available in the dropdown list, the language must be installed from the operating system CDs. Install the appropriate <language>.inf file and reboot the computer. See related Microsoft link.
xset fp+ /usr/openwin/lib/locale/<locale_name>/X11/fonts/75dpi
/usr/openwin/bin/htt -lc_basiclocale <locale_name>