Previous Topic: Workbench on Linux and zLinux:  Run Workbench on a UTF-8 SystemNext Topic: Command-Line Tools


Web Server on UNIX

On UNIX systems, the Java System Property file.encoding varies depending upon the system’s locale settings. Most Linux distributions use UTF-8 as their default encoding. If file.encoding is set to UTF-8, use one of the following methods to make Java file.encoding compatible with the CA Harvest SCM database encoding:

Example: Alter Locale When Starting Tomcat

This example shows how to start Tomcat on a UNIX system with a locale that matches the CA Harvest SCM database character encoding. In this example, Tomcat is started on a German UNIX system as follows:

export LANG=de_DE@euro
./startup.sh

The Java VM initializes file.encoding based upon the locale specified by LANG. In this example, file.encoding is initialized automatically to the value ISO-8859-15. If LANG is set to de_DE, file.encoding is initialized to ISO-8859-1.