Skip Headers
Oracle® Database Lite Administration and Deployment Guide
10g (10.3.0)

Part Number B28922-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

12 Configure for National Language Support (NLS)

In order to support a language that contains multi-byte characters, perform the following:

12.1 Configuring OC4J to Handle Multibyte Characters in Web Applications

If you have an application that uses multibyte characters, you need to configure the default-charset element to the machine locale in the OC4J global-web-application.xml file to allow multibyte characters. For example, a Japanese machine should have its locale set to the Shift_JIS locale in the OC4J global-web-application.xml file to allow Japanese multibyte characters, as follows:

<orion-web-app
   deployment-version="1.0.2.2"
   jsp-cache-directory="./persistence"
   temporary-directory="./temp"
   servlet-webdir="/servlet/"
   default-charset="Shift_JIS">
</orion-web-app>

The global-web-application.xml file can be found in the ORACLE_HOME/mobile_oc4j/j2ee/home/config directory. For more information on the elements in the global-web-application.xml file, see the Oracle Application Server Containers for J2EE Servlet Guide.