ibm-information-center/dist/eclipse/plugins/i5OS.ic.dm_5.4.0.1/rbal3scdbc.htm

54 lines
4.3 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="copyright" content="(C) Copyright IBM Corporation 2005" />
<meta name="DC.rights.owner" content="(C) Copyright IBM Corporation 2005" />
<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="Shift-control double-byte characters" />
<meta name="abstract" content="When the IBM-host code scheme is used, the server 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." />
<meta name="description" content="When the IBM-host code scheme is used, the server 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." />
<meta name="DC.subject" content="double-byte character, identifying a string of, shift-control character, description of, control character, shift, character, shift-control" />
<meta name="keywords" content="double-byte character, identifying a string of, shift-control character, description of, control character, shift, character, shift-control" />
<meta name="DC.Relation" scheme="URI" content="rbal3dbcsf.htm" />
<meta name="DC.Format" content="XHTML" />
<meta name="DC.Identifier" content="rbal3scdbc" />
<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>Shift-control double-byte characters</title>
</head>
<body id="rbal3scdbc"><a name="rbal3scdbc"><!-- --></a>
<!-- Java sync-link --><script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
<h1 class="topictitle1">Shift-control double-byte characters</h1>
<div><p>When the IBM-host code scheme is used, the server 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>
<div class="section"> <div class="fignone" id="rbal3scdbc__rsl713"><a name="rbal3scdbc__rsl713"><!-- --></a><span class="figcap">Figure 1. Placement of shift-out and shift-in characters</span><br /><img src="rslh713.gif" alt="Graphic depicting the placement&#xA;of shift-out and shift-in characters" /><br /></div>
<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>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="rbal3dbcsf.htm" title="Some languages, such as Chinese, Japanese, and Korean, have a writing scheme that uses many different characters that cannot be represented with single-byte codes. To create coded character sets for such languages, the server uses two bytes to represent each character. Characters that are encoded in two-byte code are called double-byte characters.">Double-byte character set fundamentals</a></div>
</div>
</div>
</body>
</html>