10.07.2015 Views

Borland StarTeam 2009 - Borland Technical Publications

Borland StarTeam 2009 - Borland Technical Publications

Borland StarTeam 2009 - Borland Technical Publications

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

After setting NLS_LANG correctly, Oracle Client correctly translates any symbols to the character code valuesof the database character set when storing data into the database or retrieving data from the database.NLS_LANG is specified in the following format.NLS_LANG = language_territory.charactersetwhere:languagespecifies the language used for Oracle messages, day names, and month names.territoryspecifies the monetary and numeric formats, territory, and conventions for calculating week and day numbers.charactersetcontrols the character set used by Oracle Client. (Normally it matches your Windows code page.)Overview of Defining NLS_LANGThe ODBC installation supports multiple Oracle homes. Each ODBC driver is uniquely identified by the nameof the Oracle home in which it is installed. Applications using Oracle ODBC drivers use the value of NLS_LANGfor making decisions related to character set conversion. The character set portion of the NLS_LANG settingmust be AMERICAN_AMERICA.WE8MSWIN1252. If your <strong>StarTeam</strong> database was previously Oracle 8i, thenyou use AMERICAN_AMERICA.WE8ISO8859P1.The ODBC driver installation uses the value of the Windows code page (ACP) and defines the value ofNLS_LANG in the registry. The value of NLS_LANG should be verified for accuracy. Be sure to check for theNLS_LANG environment variable because it will override the registry setting. You may choose to delete thevariable. For more information, see Defining the NLS_LANG as an Environment Variable on page 92.You can define NLS_LANG for the Oracle Client in either of the following ways:• In the Registry (Windows only)For more information, see Defining NLS_LANG in the Windows Registry on page 92.Oracle Client and Server support the concept of multiple Oracle homes. What this means is that you canhave multiple sets of Oracle binaries on the same computer. When you have multiple Oracle homes on thesame computer, you have multiple registry entries for each home. NLS_LANG should be defined for eachhome.• As an environment variableFor more information, see Defining the NLS_LANG as an Environment Variable on page 92.Although the Registry is the primary repository for environment settings, it is not the only place whereenvironment parameters can be set.You can set the NLS_LANG as a System or User Environment Variablein the System properties.Caution: If NLS_LANG is defined as an environment variable, it will be used for all Oracle homes.This option should be used with caution, especially for cases where there are multiple Oracle homeson the computer and some Oracle homes have different NLS_LANG settings. It may be best to deleteit.Using <strong>StarTeam</strong> with Oracle Databases | 91

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!