01.02.2013 Views

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

Publishing Reports to the Web - Downloads - Oracle

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The syntax for NLS_LANG is:<br />

NLS_LANG=language_terri<strong>to</strong>ry.charset<br />

The values are defined as follows:<br />

■ language<br />

NLS Environment Variables<br />

Specifies <strong>the</strong> language and its conventions for displaying messages (including<br />

error messages) as well as day and month names. If language is not specified, <strong>the</strong>n<br />

<strong>the</strong> value defaults <strong>to</strong> American.<br />

■ terri<strong>to</strong>ry<br />

Specifies <strong>the</strong> terri<strong>to</strong>ry and its conventions for default date format, decimal<br />

character used for numbers, currency symbol, and calculation of week and day<br />

numbers. If terri<strong>to</strong>ry is not specified, <strong>the</strong>n <strong>the</strong> value defaults <strong>to</strong> America.<br />

■ charset<br />

Note: This environment variable is set au<strong>to</strong>matically when you<br />

install <strong>Oracle</strong> Application Server. Refer <strong>to</strong> Defining <strong>the</strong> NLS_LANG<br />

Environment Variable for more information about changing <strong>the</strong><br />

environment variable after installing <strong>Oracle</strong> Application Server.<br />

Specifies <strong>the</strong> character set in which data is displayed. This should be a character<br />

set that matches your language and platform. This option also specifies <strong>the</strong><br />

character set used for displaying messages.<br />

Note: When you use features like <strong>Oracle</strong>AS Portal Security, Portal<br />

Destination, and Job Status Reposi<strong>to</strong>ry, <strong>the</strong> JDBC database<br />

connections made by <strong>Oracle</strong>AS <strong>Reports</strong> Services may override <strong>the</strong><br />

initial NLS_LANG setting. This change may in turn affect <strong>the</strong><br />

behavior of <strong>the</strong> running report, such as bidirectional output in PDF.<br />

On UNIX platforms, you can work around this issue by setting <strong>the</strong><br />

NLS_LANG explicitly in report.sh. You can also use <strong>the</strong> new<br />

environment switching functionality <strong>to</strong> dynamically set <strong>the</strong><br />

environment for reports. Refer <strong>to</strong> Dynamic Environment Switching,<br />

for more information.<br />

Refer <strong>to</strong> <strong>the</strong> <strong>Oracle</strong> Application Server 10g Globalization Guide for more information<br />

on <strong>the</strong> commonly used language, terri<strong>to</strong>ry, and character values for NLS_LANG.<br />

Your NLS_LANG setting should take in<strong>to</strong> account regional differences between<br />

countries that use (basically) <strong>the</strong> same language. For example, if you want <strong>to</strong> run in<br />

French (as used in France), <strong>the</strong>n you set <strong>the</strong> NLS_LANG environment variable:<br />

NLS_LANG=FRENCH_FRANCE.WE8ISO8859P1<br />

If you want <strong>to</strong> run in French, but this time as used in Switzerland, you would set <strong>the</strong><br />

NLS_LANG environment variable:<br />

NLS_LANG=FRENCH_SWITZERLAND.WE8ISO8859P1<br />

Implementing NLS and Bidirectional Support 18-3

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

Saved successfully!

Ooh no, something went wrong!