Oracle8i Installation Guide Release 2 (8.1.6) for Windows NT A73010-01 |
|
This appendix describes National Language Support (NLS).
Specific topics discussed are:
Oracle8i for Windows NT provides NLS that enables users to interact with a database in their own language, as defined by the NLS_LANG parameter. When you install Oracle8i for Windows NT, the NLS_LANG parameter is registered by the Net8 Client installation script.
The default value of the NLS_LANG parameter at installation is either that of the existing NLS_LANG parameter of the currently selected Oracle home, or of the default language of the operating system. The default language 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.
See Also:
Appendix C of Oracle8i Administrator's Guide for Windows NT for more information on the subkey locations for multiple Oracle homes |
The NLS_LANG parameter uses the following format:
NLS_LANG = LANGUAGE_TERRITORY.CHARACTER_SET
where:
See Also:
Oracle8i National Language Support Guide for information on the NLS_LANG parameter and NLS initialization parameters |
The following table lists commonly used NLS_LANG values for various languages:
When using 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.
This is required because MS-DOS mode uses, with a few exceptions, a different character set (or code-page), for example, OEM 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 OEM code-page is identical to the ANSI code-page. In this case, there is no need to set the NLS_LANG in MS-DOS mode.
Similarly, in batch mode, set the correct character set value of the 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.
The following table lists the Oracle character sets that correspond to the OEM primary code-page in MS-DOS mode for each of the supported languages:
|
Copyright © 2000 Oracle Corporation. All Rights Reserved. |
|