| Oracle9i Database Installation Guide Release 2 (9.2.0.2.1) for 64-Bit Windows Part Number B10546-01 |
|
This appendix describes Globalization Support.
This appendix contains these topics:
Oracle provides Globalization Support that enables users to interact with a database in their own language, as defined by the NLS_LANG parameter. When you install Oracle9i components, the NLS_LANG parameter is set in the registry.
The value of the NLS_LANG parameter at installation is automatically chosen based on the locale setting of the operating system. The operating system locale and NLS_LANG value mappings are listed under "Commonly Used Values for NLS_LANG".
The NLS_LANG parameter is stored in the registry under the HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOMEID\NLS_LANG subkey, where ID is the unique number identifying the Oracle home.
The NLS_LANG parameter uses the following format:
NLS_LANG = LANGUAGE_TERRITORY.CHARACTER_SET
where:
Table D-2 lists commonly used NLS_LANG values for various operating system locales:
When using the Oracle Internet Directory command line tools and Oracle utilities such as SQL*Plus, SQL Loader, Import, and Export in MS-DOS mode, the character set field of the NLS_LANG parameter for the session must first be set to the correct value.
Setting the character set field is required because MS-DOS mode uses, with a few exceptions, a different character set (or code-page) from Windows (ANSI code-page), and the default Oracle home NLS_LANG parameter in the registry is always set to the appropriate Windows code-page. If the NLS_LANG parameter for the MS-DOS mode session is not set appropriately, error messages and data can be corrupted due to incorrect character set conversion.
For Japanese, Korean, Simplified Chinese, and Traditional Chinese, the MS-DOS code-page is identical to the ANSI code-page. In this case, there is no need to set the NLS_LANG parameter in MS-DOS mode.
Similarly, in batch mode, set the correct character set value of NLS_LANG by inserting a SET NLS_LANG command at the start of the batch procedure, according to the character set of the files to be processed in the procedure.
Table D-3 lists the Oracle character sets that correspond to the MS-DOS mode for various operating system locales:
|
|
![]() Copyright © 2003 Oracle Corporation. All Rights Reserved. |
|