Configure Language Settings
To configure your system to use the Japanese language:
-
Modify the LANG setting for the operating system.
For Solaris use:
ja_JP.PCK
For RHEL/SuSE use:
ja_JP.SJIS
On Linux, the NLS_LANG value is set in the mxEnv.sh file in SERVERHOME/scripts/.
-
In the mxEnv.sh file, change the line:
NLS_LANG=_UTF8
to:
NLS_LANG=JAPANESE_JAPAN.JA16SJIS
-
Next, set the character set to
Shift_JIS
:MX_CHARSET=Shift_JIS
- In the SERVERHOME/distrib/enovia/WEB-INF/classes/ESAPI.properties file, also change the following settings:
Encryptor.CharacterEncoding=Shift_JIS HttpUtilities.ResponseContentType=text/html;charset=csWindows31J
When the Encryptor.CharacterEncoding setting is changed from the default of
UTF-8
toShift_JIS
, the HttpUtilities.ResponseContentType setting must also be changed tocsWindows31J
for the Shift_JIS configuration in a Japanese environment. -
Finally, add the following lines to the mxEnv.sh file:
<mxEnv.sh> LANG=ja_JP.PCK export LANG LC_TIME=C export LC_TIME