ibm-information-center/dist/eclipse/plugins/i5OS.ic.nls_5.4.0.1/rbagsdbcscodescheme.htm

78 lines
4.5 KiB
HTML
Raw Normal View History

2024-04-02 14:02:31 +00:00
<?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="DBCS code schemes" />
<meta name="abstract" content="IBM supports two DBCS code schemes: one for the host systems and the other for personal computers." />
<meta name="description" content="IBM supports two DBCS code schemes: one for the host systems and the other for personal computers." />
<meta name="DC.Relation" scheme="URI" content="rbagsenadbcs.htm" />
<meta name="DC.Relation" scheme="URI" content="../dm/rbal3dbcs.htm" />
<meta name="DC.Relation" scheme="URI" content="../dm/rbal3kickoff.htm" />
<meta name="copyright" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Rights.Owner" content="(C) Copyright IBM Corporation 1998, 2006" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rbagsdbcscodescheme" />
<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>DBCS code schemes</title>
</head>
<body id="rbagsdbcscodescheme"><a name="rbagsdbcscodescheme"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">DBCS code schemes</h1>
<div><p>IBM<sup>®</sup> supports
two DBCS code schemes: one for the host systems and the other for personal
computers.</p>
<p>The DBCS code scheme for host systems has the following code-range characteristics:</p>
<ul><li>First byte: hex 41 to hex FE</li>
<li>Second byte: hex 41 to hex FE</li>
<li>Double-byte blank: hex 4040</li>
</ul>
<div class="section"><h4 class="sectiontitle">Shift-control characters</h4><p>When the host code scheme
is used, the system uses shift-control characters to identify the beginning
and end of a string of double-byte characters. The shift-out (SO) character,
hex 0E, indicates the beginning of a double-byte character string. The shift-in
(SI) character, hex 0F, indicates the end of a double-byte character string.</p>
<p>Each
shift-control character occupies the same amount of space as one alphanumeric
character. By contrast, double-byte characters occupy the same amount of space
as two alphanumeric characters.</p>
<p>When double-byte characters are stored
in a graphic field or a variable of graphic data type, there is no need to
use shift control characters to surround the double-byte characters.</p>
</div>
<div class="section"><h4 class="sectiontitle">Incorrect and undefined double-byte code</h4><p>Incorrect
double-byte code has a double-byte code value that is not in the valid double-byte
code range. This is in contrast to undefined double-byte code where the double-byte
code is valid, but no graphic symbol has been defined for the code.</p>
</div>
<div class="section"><h4 class="sectiontitle">Supported DBCS code ranges</h4><p>i5/OS™ supports
the following DBCS character-set code ranges:</p>
<ul><li>Japanese character-set code range</li>
<li>Korean character-set code range</li>
<li>Simplified Chinese character-set code range</li>
<li>Traditional Chinese character-set code range</li>
</ul>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbagsenadbcs.htm" title="A DBCS file is a file that contains double-byte data or is used to process double-byte data. Other files are called alphanumeric files. You can view DBCS files on display, printer, tape, diskette, and ICF devices.">Work with DBCS data</a></div>
</div>
<div class="relconcepts"><strong>Related concepts</strong><br />
<div><a href="../dm/rbal3dbcs.htm">Double-byte character set support</a></div>
<div><a href="../dm/rbal3kickoff.htm">Database file management</a></div>
</div>
</div>
</body>
</html>