107 lines
7.2 KiB
HTML
107 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="concept" />
|
|
<meta name="DC.Title" content="Globalization" />
|
|
<meta name="abstract" content="Because the i5/OS PASE run time is based on the AIX run time, i5/OS PASE programs can use the same rich set of programming interfaces for locales, character string manipulation, date and time services, message catalogs, and character encoding conversions supported on AIX." />
|
|
<meta name="description" content="Because the i5/OS PASE run time is based on the AIX run time, i5/OS PASE programs can use the same rich set of programming interfaces for locales, character string manipulation, date and time services, message catalogs, and character encoding conversions supported on AIX." />
|
|
<meta name="DC.Relation" scheme="URI" content="rzalfinteract.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="../nls/rbagsglobalmain.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="../apis/pase_locales.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="../apis/pase__setccsid.htm" />
|
|
<meta name="DC.Relation" scheme="URI" content="rzalfinstall.htm" />
|
|
<meta name="copyright" content="(C) Copyright IBM Corporation 2000, 2006" />
|
|
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 2000, 2006" />
|
|
<meta name="DC.Format" content="XHTML" />
|
|
<meta name="DC.Identifier" content="rzalfglobalize" />
|
|
<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>Globalization</title>
|
|
</head>
|
|
<body id="rzalfglobalize"><a name="rzalfglobalize"><!-- --></a>
|
|
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<h1 class="topictitle1">Globalization</h1>
|
|
<div><p>Because the <span class="keyword">i5/OS™</span> PASE
|
|
run time is based on the AIX<sup>®</sup> run time, <span class="keyword">i5/OS</span> PASE
|
|
programs can use the same rich set of programming interfaces for locales,
|
|
character string manipulation, date and time services, message catalogs, and
|
|
character encoding conversions supported on AIX.</p>
|
|
<p><span class="keyword">i5/OS</span> PASE supports
|
|
the interfaces in AIX run time for managing the locale that an application
|
|
uses and for performing locale-sensitive functions (such as ctype and strcoll),
|
|
including support for both single-byte and multibyte character encoding.</p>
|
|
<p><span class="keyword">i5/OS</span> PASE includes
|
|
a subset of AIX locales,
|
|
which provide support for a large number of countries and languages using
|
|
industry-standard encoding (code sets ISO8859-x), code set IBM-1250, and code
|
|
set UTF-8. <span class="keyword">i5/OS</span> PASE provides
|
|
support for the Euro in three different ways: IBM-1252 locales and ISO 8859-15
|
|
locales (both of which use single-byte encodings), and UTF-8 locales.</p>
|
|
<div class="note"><span class="notetitle">Note:</span> Locale support for <span class="keyword">i5/OS</span> PASE
|
|
is independent of either form of locale support used by ILE C programs (object
|
|
types *CLD and *LOCALE). In addition to internal structural differences, none
|
|
of the existing shipped locales for ILE C programs supports ASCII.</div>
|
|
<div class="section"><h4 class="sectiontitle">Create new locales</h4><p><span class="keyword">i5/OS</span> PASE does not ship a utility
|
|
to create new locales. However, you can create locales for use in <span class="keyword">i5/OS</span> PASE on an AIX system with
|
|
the <tt>localedef</tt> utility.</p>
|
|
</div>
|
|
<div class="section"><h4 class="sectiontitle">Change locales</h4><p>When
|
|
an <span class="keyword">i5/OS</span> PASE application
|
|
changes locales, generally it also should change the <span class="keyword">i5/OS</span> PASE
|
|
CCSID (using the _SETCCSID runtime function) to match the encoding for the
|
|
new locale. This ensures that any character data interface arguments are correctly
|
|
interpreted by <span class="keyword">i5/OS</span> PASE
|
|
run time (and possibly converted when calling an EBCDIC system service). You
|
|
can use the <tt>cstoccsid</tt> runtime function to determine what CCSID corresponds
|
|
to a code set name.</p>
|
|
<p>The <span class="keyword">i5/OS</span> PASE
|
|
run time sets the CCSID tag on any file created by an <span class="keyword">i5/OS</span> PASE
|
|
program to the current <span class="keyword">i5/OS</span> PASE
|
|
CCSID value (supplied either when the program is started or using the most
|
|
recent _SETCCSID value). </p>
|
|
<p>You should use UTF-8 locales for <span class="keyword">i5/OS</span> PASE applications that support
|
|
Japanese, Korean, Traditional Chinese, and Simplified Chinese. <span class="keyword">i5/OS</span> includes
|
|
other locales for these languages, but the system does not support setting
|
|
the <span class="keyword">i5/OS</span> PASE CCSID to
|
|
match the encoding for IBM-euc<em>XX</em> code sets. Using UTF-8 support might
|
|
require converting file data that might be stored in other encoding (such
|
|
as Shift-JIS) when the application runs on other platforms.</p>
|
|
</div>
|
|
<div class="section"><h4 class="sectiontitle">Where <span class="keyword">i5/OS</span> PASE
|
|
conversion objects and locales are stored</h4><p>Conversion objects and
|
|
locales for <span class="keyword">i5/OS</span> PASE
|
|
are packaged with <span class="keyword">i5/OS</span> language
|
|
feature codes. When you install <span class="keyword">i5/OS</span> PASE,
|
|
only those locales that are associated with installed <span class="keyword">i5/OS</span> language
|
|
features are created.</p>
|
|
<p>All <span class="keyword">i5/OS</span> PASE
|
|
locales use ASCII or UTF-8 character encoding; therefore, all <span class="keyword">i5/OS</span> PASE
|
|
run time works in ASCII (or UTF-8).</p>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="rzalfinteract.htm" title="As you customize your i5/OS PASE programs to use i5/OS functions, you need to consider the ways in which your program will interact with them.">How i5/OS PASE programs interact with i5/OS</a></div>
|
|
</div>
|
|
<div class="reltasks"><strong>Related tasks</strong><br />
|
|
<div><a href="rzalfinstall.htm" title="You can follow the instructions in this topic to install i5/OS PASE on your server.">Install i5/OS PASE</a></div>
|
|
</div>
|
|
<div class="relinfo"><strong>Related information</strong><br />
|
|
<div><a href="../nls/rbagsglobalmain.htm">i5/OS globalization</a></div>
|
|
<div><a href="../apis/pase_locales.htm">i5/OS PASE locales</a></div>
|
|
<div><a href="../apis/pase__setccsid.htm">_SETCCSID()--Set i5/OS PASE CCSID</a></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |