120 lines
7.2 KiB
HTML
120 lines
7.2 KiB
HTML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!DOCTYPE html
|
||
|
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
|
<html lang="en-us" xml:lang="en-us">
|
||
|
<head>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||
|
<meta name="security" content="public" />
|
||
|
<meta name="Robots" content="index,follow" />
|
||
|
<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
|
||
|
<meta name="DC.Type" content="reference" />
|
||
|
<meta name="DC.Title" content="NLS considerations" />
|
||
|
<meta name="abstract" content="iSeries Access for Web displays information from a variety of sources. Some of these sources are able to provide information in more than one language, or format information in a language-specific manner." />
|
||
|
<meta name="description" content="iSeries Access for Web displays information from a variety of sources. Some of these sources are able to provide information in more than one language, or format information in a language-specific manner." />
|
||
|
<meta name="DC.subject" content="NLS Considerations, languages, character set" />
|
||
|
<meta name="keywords" content="NLS Considerations, languages, character set" />
|
||
|
<meta name="DC.Relation" scheme="URI" content="rzammuse1.htm" />
|
||
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2003, 2006" />
|
||
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2003, 2006" />
|
||
|
<meta name="DC.Format" content="XHTML" />
|
||
|
<meta name="DC.Identifier" content="nlsconsid" />
|
||
|
<meta name="DC.Language" content="en-us" />
|
||
|
<!-- All rights reserved. Licensed Materials Property of IBM -->
|
||
|
<!-- US Government Users Restricted Rights -->
|
||
|
<!-- Use, duplication or disclosure restricted by -->
|
||
|
<!-- GSA ADP Schedule Contract with IBM Corp. -->
|
||
|
<link rel="stylesheet" type="text/css" href="./ibmdita.css" />
|
||
|
<link rel="stylesheet" type="text/css" href="./ic.css" />
|
||
|
<title>NLS considerations</title>
|
||
|
</head>
|
||
|
<body id="nlsconsid"><a name="nlsconsid"><!-- --></a>
|
||
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
||
|
<h1 class="topictitle1">NLS considerations</h1>
|
||
|
<div><p>iSeries™ Access
|
||
|
for Web displays information from a variety of sources. Some of these sources
|
||
|
are able to provide information in more than one language, or format information
|
||
|
in a language-specific manner.</p>
|
||
|
<div class="section"><p>These sources include: </p>
|
||
|
<ul><li>i5/OS™</li>
|
||
|
<li>JDBC driver</li>
|
||
|
<li>Web application server</li>
|
||
|
<li>iSeries Access
|
||
|
for Web</li>
|
||
|
</ul>
|
||
|
<p>Such language-specific information includes forms, error messages,
|
||
|
help, formatted dates and times, and sorted lists. When a choice of languages
|
||
|
is available, every attempt is made to select a language that is appropriate
|
||
|
for the user. The selected language is used to influence the language and
|
||
|
format of information from these other sources. However, there is no guarantee
|
||
|
that the information from a specific source will be in the selected language,
|
||
|
or that all the information will be in the same language.</p>
|
||
|
</div>
|
||
|
<div class="section"><p>Messages and help which originate from i5/OS may not be in the selected language,
|
||
|
depending on which language versions are installed on the iSeries. If
|
||
|
the selected language is not installed on the iSeries, then i5/OS messages displayed by iSeries Access
|
||
|
for Web will be in the primary language of the i5/OS.</p>
|
||
|
</div>
|
||
|
<div class="section"><h4 class="sectiontitle">Language and character set selection</h4></div>
|
||
|
<div class="section"><p>iSeries Access
|
||
|
for Web uses the following method to select an appropriate language and character
|
||
|
set.</p>
|
||
|
</div>
|
||
|
<div class="section"><p>First, a list of potential language choices is assembled from
|
||
|
the following sources: </p>
|
||
|
<ul><li>The iSeries Access
|
||
|
for Web <span class="parmname">locale=</span> parameter.</li>
|
||
|
<li>The iSeries Access
|
||
|
for Web <span class="parmname">Preferred language</span> preference.</li>
|
||
|
<li>The browser language configuration (HTTP Accept-Language header).</li>
|
||
|
<li>The iSeries user
|
||
|
profile Language ID.</li>
|
||
|
<li>The Java™ Virtual Machine default locale.</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="section"><p>Second, a list of acceptable character sets is assembled from
|
||
|
the following sources: </p>
|
||
|
<ul><li>The iSeries Access
|
||
|
for Web <span class="parmname">charset=</span> parameter.</li>
|
||
|
<li>The iSeries Access
|
||
|
for Web <span class="parmname">Preferred character set</span> preference.</li>
|
||
|
<li>The browser character set information (HTTP Accept-Charset header). <div class="note"><span class="notetitle">Note:</span> <img src="./delta.gif" alt="Start of change" />If the browser character set information (HTTP Accept-Charset header)
|
||
|
indicates that UTF-8 is supported, the list of acceptable character sets will
|
||
|
include UTF-8 before other character sets supported by the browser. In this
|
||
|
case, UTF-8 is used as the character set when the <span class="parmname">Preferred character
|
||
|
set</span> preference is set to None.<img src="./deltaend.gif" alt="End of change" /></div>
|
||
|
</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<div class="section"><p>Third, each language in the list of potential languages is examined
|
||
|
to determine if it is available and if it can be represented using a character
|
||
|
set from the list of acceptable character sets.</p>
|
||
|
</div>
|
||
|
<div class="section"><p>The first language that is available and can be represented using
|
||
|
one of the acceptable character sets is selected.</p>
|
||
|
</div>
|
||
|
<div class="section"><p>The first character set from the list of acceptable character
|
||
|
sets that can represent the language is selected.</p>
|
||
|
</div>
|
||
|
<div class="section"><h4 class="sectiontitle">Information in multiple languages (multilingual)</h4><div class="p"><img src="./delta.gif" alt="Start of change" />Because the information displayed by iSeries Access for Web comes from a variety
|
||
|
of sources, there is a possibility that the information is in more than one
|
||
|
language. When multiple languages are displayed in a browser simultaneously,
|
||
|
a multilingual character set, such as UTF-8, might be required to display
|
||
|
all the characters correctly. If this is the case, the <span class="parmname">Preferred
|
||
|
character set</span> preference should be changed to either Multilingual
|
||
|
[UTF-8] or None. <div class="note"><span class="notetitle">Note:</span> Since most browsers support UTF-8 as a character set,
|
||
|
if you specify None for the <span class="parmname">Preferred character set</span> preference, iSeries Access
|
||
|
for Web uses UTF-8 for the character set.</div>
|
||
|
<img src="./deltaend.gif" alt="End of change" /></div>
|
||
|
</div>
|
||
|
<div class="section"><h4 class="sectiontitle">CCSIDs and i5/OS messages</h4><p>To ensure that information
|
||
|
is displayed properly, make certain that the Coded Character Set ID (CCSID)
|
||
|
setting for the user profile is appropriate for the messages originating from i5/OS.</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<div class="familylinks">
|
||
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzammuse1.htm" title="Learn about the supported functionality, usage considerations, and restrictions for the iSeries Access for Web servlets in a Web application server environment.">Use iSeries Access for Web in a Web application server environment</a></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</body>
|
||
|
</html>
|