SQL*Plus User's Guide and Reference Release 9.2 Part Number A90842-01 |
|
This chapter provides a brief overview of the globalization support in SQL*Plus:
For more information on globalization support, see the Oracle Technology Network globalization notes at http://otn.oracle.com/tech/globalization/content.html, and see the Oracle9i Database Globalization Support Guide
To display another language in SQL*Plus, you must configure both the Oracle9i database and the client environment before starting SQL*Plus. Configuration of the client environment involves setting the NLS_LANG environment variable. NLS_LANG is read by SQL*Plus at startup.
To display and enter data in the Japanese character set using UTF-8 character encoding.
On UNIX, do the following:
setenv NLS_LANG Japanese_Japan.UTF8
On Windows, do the following:
The NLS_LANG parameter has three components, each controlling a subset of the globalization features. Your operating system and keyboard must be able to support the character set you have chosen. You may need to install additional support software. For more information about NLS_LANG, and software support, see the Oracle9i Database Globalization Support Guide.
To store data in the Japanese character set using UTF-8 character encoding.
Ensure that your Oracle9i database has been created with the UTF8 character set. See your Oracle9i Installation Guide for information about creating your database in a character set other than US7ASCII.
To display another language in iSQL*Plus, you must configure all three tiers. The following example is for Japanese using the Unicode (UTF-8) character set in Microsoft Windows.
To use the UTF-8 character encoding for Japanese:
Microsoft Language Packs and updates are available for Windows operating systems to provide international language support at:
http://windowsupdate.microsoft.com/
or you can find information about Asian language support for Windows at:
http://www.microsoft.com/windows/ie/features/ime.asp
Netscape information about fonts, and font downloads to support international language sets can be found at:
For Microsoft Internet Explorer 5.0:
For Netscape Navigator 4.7:
For Microsoft Internet Explorer:
For Netscape Navigator:
Set the Globalization Support variables you want in the Oracle HTTP Server operating system. Every iSQL*Plus session inherits this environment.
On Windows, do the following:
On UNIX, do the following:
setenv NLS_LANG Japanese_Japan.UTF8
The Oracle HTTP Server should be started from the terminal used to set the NLS_LANG variable. This is to ensure that the variable is read at startup. Alternatively, NLS_LANG could be set in your login initialization file or a command shell initialization file.
Create your Oracle9i database with the UTF8 character set.
|
Copyright © 1996, 2002 Oracle Corporation. All Rights Reserved. |
|