Skip Headers
Oracle® Database Lite Administration and Deployment Guide
10g (10.2.0)
Part No. B15921-01
  Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
Next
Next
 

14 Configure for National Language Support (NLS)

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

14.1 Configuring OC4J to Handle Multibyte Characters in Online Web Applications

If you have an application that uses multibyte characters and runs in online mode, 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.