In order to support a language that contains multi-byte characters, perform the following:
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.